Login  Register

Re: Memory Issues IJ2

Posted by vbindokas on Jul 08, 2014; 10:22pm
URL: http://imagej.273.s1.nabble.com/Memory-Issues-IJ2-tp5008635p5008639.html

I have been watching the memory leak in both ImageJ AND Fiji for some time.
closing images and/or running garbage collection doesn't clear memory
holdings in Windows7-64, This gets to be a real problem after dealing
with large images/data. I've seen >14GB claimed by IJ after large stacks
with nothing left open. I also can have IJ/IJ2 not close-shutdown and
have to use the manager to kill it.
     With windows task manager running, I see a clean launcj of IJ
taking 328,236K on my system. After manipulating images, the value
remain higher than this after closing all and running garbage routine.
Try this test macro, it strands memory at 521.5k.

run("Mitosis (26MB, 5D stack)");
run("32-bit");
run("Duplicate...", "title=mitosis-1.tif duplicate channels=1-2
slices=1-5 frames=1-51");
run("Concatenate...", "  title=[Concatenated Stacks] image1=mitosis.tif
image2=mitosis-1.tif image3=[-- None --]");
close();
run("Collect Garbage");


On 7/8/2014 3:12 PM, Curtis Rueden wrote:

> Hi Rebecca,
>
>> I've even sometimes not been able to close IJ2, and had to resort to
>> killing it in the task mgr. Anyone else having these issues?
> This is a known issue, tracked at:
> http://fiji.sc/bugzilla/show_bug.cgi?id=805
>
> We made one serious effort to fix it, and AFAIK it is fixed on OS X, but
> there have been subsequent reports of continued problems. I was finally
> able to replicate the problem on a Windows VM on my machine, so hope to
> have a fix available very soon. Very sorry for the problems.
>
>> Clicking on the status bar does not free up memory
> I cannot reproduce this problem. In my tests, clicking the status bar
> seems to perform a garbage collection, on both OS X and Windows.
>
> Regards,
> Curtis
>
>
>
> On Tue, Jul 8, 2014 at 2:27 PM, Rebecca Keller <[hidden email]> wrote:
>
>> Dear List,
>>
>> is anyone else having memory issues in IJ2? Clicking on the status bar does
>> not free up memory, and also, I've even sometimes not been able to close
>> IJ2, and had to resort to killing it in the task mgr. Anyone else having
>> these issues?
>>
>> --
>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
__

Vytas Bindokas, Ph.D.
Research Assoc. (Assoc. Prof.),
Director, BSD Light Microscopy Core Facility
phone: 773-702-4875

      [address for letters ONLY (see shipping addr below):]
Dept Pharmacol Physiol Sci MC0926
947 E 58th Street
The University of Chicago
Chicago IL 60637
Room Abbott 129


shipping address (main KCBD site):
V. Bindokas
900 E 57th Street
KCBD room 1250, Microscopy Core
The University of Chicago
Chicago IL 60637


email [hidden email]
web site for LMCF:
http://digital.uchicago.edu/index.html

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