Login  Register

Re: out of memory: multiple images

Posted by Wayne Rasband on Jul 03, 2006; 5:35pm
URL: http://imagej.273.s1.nabble.com/out-of-memory-multiple-images-tp3702323p3702324.html

On Jul 3, 2006, at 10:41 AM, Martin du Saire wrote:


> Uh, I think the problem has been resolved.  I inserted:
>
>        print("Free memory:", call("ij.IJ.freeMemory")); // returns  
> a string
>
> at the beginning of the loop.  It reported that 1% of the 300Mb was  
> free.  This is reported at the beginning of the macro, prior to  
> opening any images!  Is that the expected result?
>

This is what I get on my system:

      Free memory: 1110K of 500MB (<1%)

This means that 1110K of the available 500MB of memory (or less than  
1%) is in use. In other words, more than 99% is free. This string is  
also displayed by the Help>About ImageJ command and when you click in  
the status bar.

-wayne