Ticket #927 (new defect)
Opened 2012-02-01T13:58:29-06:00
Last modified 2012-08-14T12:22:19-05:00
Out of memory issue with Add Data plugin
Reported by: | bdezonia | Owned by: | bdezonia |
---|---|---|---|
Priority: | major | Milestone: | imagej-2.0.0 |
Component: | Core | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #1170 |
Description
It is pretty easy to run out of memory using the Add Data plugin. Repeatedly do this:
1) open T1 Head
2) Add Data, Z axis, quantity 3
3) close T1 Head
After 4 or 5 runs you get an exception thrown about being out of heap space and must terminate IJ2.
Note that my IJ2 only has 123 mb available at startup (running from eclipse rather than with IJ2's launching script).
T1 head is about 16 meg of data. Each Add Data run makes a new one. But since we're closing images as we go there should only ever be 32 mb in use.
Somewhere we're not letting go of resources. Use heap debugging method to see what is not getting freed.