<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Dear All,</DIV>
<DIV>I have an OMERO installation on a virtual machine.</DIV>
<DIV> </DIV>
<DIV>For the project I’m working on (the OMEGA project), I’m reading the images
stored in OMERO using the API (in Java) and the Gateway.class present at <A
title=http://trac.openmicroscopy.org.uk/ome/browser/insight/trunk/TEST/org/openmicroscopy/shoola/examples/data/Gateway.java?rev=7855
href="http://trac.openmicroscopy.org.uk/ome/browser/insight/trunk/TEST/org/openmicroscopy/shoola/examples/data/Gateway.java?rev=7855">http://trac.openmicroscopy.org.uk/ome/browser/insight/trunk/TEST/org/openmicroscopy/shoola/examples/data/Gateway.java?rev=7855</A>.</DIV>
<DIV> </DIV>
<DIV>For a specific image I select a channel and a “Z” and I load the bytes for
each “T”:</DIV>
<DIV> </DIV>
<DIV>for (int i = 0; i < framesNumber; i++)</DIV>
<DIV>{</DIV>
<DIV> try</DIV>
<DIV> {</DIV>
<DIV> byte[] pixels = gateway.getPlane(pixelsID, 1, i,
1);</DIV>
<DIV> // send image to my algorithm</DIV>
<DIV> }</DIV>
<DIV> ...</DIV>
<DIV> </DIV>
<DIV>My code is working and I’m able to correct read the bytes. The problem is
that the reading of the images sometimes freeze, in a completely random way.
</DIV>
<DIV> </DIV>
<DIV>Most of the time the loading works perfectly and in a few seconds I’m able
to load all the images, but sometimes (I would say around the 10% of the times)
the loading freeze for several seconds or minutes and then it restart. At the
end of the loading the byte are correctly loaded, but with this freeze in the
middle.</DIV>
<DIV> </DIV>
<DIV>I have experienced this behavior also using OMERO.insight (on the same
virtual machine): sometimes when I use the sliders (for the Z or T) the program
freeze for some seconds.</DIV>
<DIV> </DIV>
<DIV>Is this problem related to OMERO? Or am I using the API in a wrong
way?</DIV>
<DIV> </DIV>
<DIV>Thank you very much for you help!</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>These are the details about my virtual machine:</DIV>
<DIV> </DIV>
<DIV>Linux isin09 2.6.18-194.17.1.el5xen #1 SMP Wed Sep 29 13:30:21 EDT 2010
x86_64 x86_64 x86_64 GNU/Linux</DIV>
<DIV>CentOS release 5.5 (Final)</DIV>
<DIV> </DIV>
<DIV>memory:</DIV>
<DIV>
total
used free
shared buffers cached</DIV>
<DIV>Mem:
512
475
36
0
7
59</DIV>
<DIV>-/+
buffers/cache:
408 103</DIV>
<DIV>Swap:
1192
605 586</DIV>
<DIV> </DIV>
<DIV>disk space:</DIV>
<DIV>Filesystem
1K-blocks Used Available Use% Mounted on</DIV>
<DIV>/dev/xvda1
6940484 4174552 2407688 64% /</DIV>
<DIV>/dev/xvda3
20641788 5621160 13971988 29% /home</DIV>
<DIV>tmpfs
262144 0
262144 0% /dev/shm</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">--
<BR>Scuola Universitaria Professionale della Svizzera Italiana<BR>Dipartimento
Tecnologie Innovative<BR>Istituto Sistemi Informativi e Networking<BR><BR>Vanni
Galli<BR>Ricercatore<BR><BR>Galleria 2<BR>CH - 6928 Manno<BR><BR>T +41 (0)58 666
65
92<BR>vanni.galli@supsi.ch<BR>www.supsi.ch/dti</DIV></DIV></DIV></BODY></HTML>