NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 641 - Memory leak when using setBatchMode(true)
Memory leak when using setBatchMode(true)
Status: NEW
Product: Fiji
Classification: Unclassified
Component: Other
unspecified
Macintosh Mac OS
: P5 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2013-07-26 08:22 CDT by Ulrik Guenther
Modified: 2013-08-01 16:54 CDT
2 users (show)

See Also:

Description Ulrik Guenther 2013-07-26 08:22:52 CDT
Steps to reproduce:
1) download OpenSPIM example data from openspim.org
2) run the script given in http://openspim.org/Pre-processing with setBatchMode(true)

Actual result:
Fiji starts converting until an OutOfMemory exception is thrown. At this point, memory usage is about 2.2 GiB

Expected result:
Fiji should finish converting without running out of memory, as the images are each only about 150 MiB. Without using setBatchMode(true), memory usage stays well below 1 GiB. 

Build platform & date: 
2013-07-26, Mac OS 10.8.4
Comment 1 Wayne Rasband 2013-07-26 09:58:46 CDT
Try the ImageJ 1.48b daily build. It fixes a bug that sometimes caused
memory used by batch mode images to not be reclaimed by the garbage collector. You can upgrade by using the Help>Update ImageJ command and selecting "daily build" from the drop down menu.
Comment 2 Johannes Schindelin 2013-08-01 16:54:21 CDT
Ulrik, could you try the daily build? Help>Update (not Update Fiji) should let you choose that one, but beware: it will exit Fiji the hard way (i.e. all unsaved data *will* be lost).