out of memory: multiple images
Posted by Martin du Saire on Jun 30, 2006; 10:29pm
URL: http://imagej.273.s1.nabble.com/out-of-memory-multiple-images-tp3702323.html
Hi,
I am running a macro containing a bunch of user-defined functions in
BatchMode on a entire directory of 35kb images. The macro makes it
through about 160 images before ImageJ reports "out of memory". I am
sure I am closing all the intermediate and the resulting images in
each loop, and the only output other than the resulting image, is a
couple lines in "Log" per image. Any ideas? Does ImageJ create new
versions of variable, arrays etc. each time the process is run?
For example, does "x0=newArray(nBlobs);" create a separate array each
time it is called, or does it overwrite x0?
Thanks.
M