Login  Register

Re: imagej and Java 1.8

Posted by Aryeh Weiss on Dec 08, 2015; 8:25am
URL: http://imagej.273.s1.nabble.com/imagej-and-Java-1-8-tp5015143p5015172.html

Hi Mark

On 07/12/2015 11:04 PM, Mark Hiner wrote:

> Hi Aryeh,
>
> On Mon, Dec 7, 2015 at 11:46 AM, Aryeh Weiss <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Thanks for this information. I decided to run IJ, do a heap dump
>     before running a script that opens a few 1.3Gpixel images, then
>     run it after, then close the images and get a heap dump when the
>     images have been closed but the memory is not freed (which is
>     reproducible).
>
>
> This sounds like the perfect set of information!
>
> > In order to send it to you, I will probably need to send it to an
> FTP server (like I have done with bio-formats. DO you have a server to
> which I can send the dumps?
>
> Actually you should be able to use the Upload Sample Image[1] command
> to send the zip. If that doesn't work for you let me know and I can
> send FTP credentails.
>

I uploaded a set of heap dumps using  Upload Sample Image as you suggested.
They are:
heapdump-1449551945772 -- made immediately after launching Fiji. Small,
as expected.
heapdump-1449552198991 -- made immediately after running my python
script. Three large image are open.
heapdump-1449552667004 -- made after closing those three large images
and double clicking in the Fiji window
                                                 a few times to run the
garbage collector
heapdump-1449553044705 -- made after running the script a second time,
during which Fiji ran out of memory.
                                                Two large images are open.
heapdump-1449553286368 -- made after closing those two windows and
garbage collecting.
                                                As expected, memory was
not freed.

The large images are a bit under 1Gpixel, 8-bit images.

I hope that this is useful.
Thanks for your efforts.
--aryeh

--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel

Ph:  972-3-5317638
FAX: 972-3-7384051


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html