Ticket #927 (new defect)

Opened 7 years ago

Last modified 7 years ago

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.

Change History

comment:1 Changed 7 years ago by bdezonia

  • Blocking 1070 added

comment:2 Changed 7 years ago by bdezonia

  • Milestone changed from imagej-2.0.0-beta3 to imagej-2.0.0-beta4

comment:3 Changed 7 years ago by bdezonia

  • Blocking 1170 added; 1070 removed

comment:4 Changed 7 years ago by bdezonia

  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0
Note: See TracTickets for help on using tickets.