Posted by
ctrueden on
Apr 11, 2008; 3:43pm
URL: http://imagej.273.s1.nabble.com/On-quantification-of-Western-blot-bands-using-ImageJ-tp3696585p3696587.html
Hi Herbert,
Is there an easy way to release memory without restarting ImageJ?
>
Nope, restarting ImageJ *is* the easy way. =) You can click the ImageJ
status bar to perform a garbage collection operation, which instructs Java
to free any memory that is no longer being used, but one of the plugins you
use might still be "eating" the memory even though it is done executing.
The problem is that any of the plugins you are using could allocate as much
memory as it wants anywhere it wants, and ImageJ has no direct way of
knowing what was done, nor how to free the memory.
I would suggest you try to track down which plugin (or plugins) is the
culprit. First, try opening one of your large stacks and then closing it
again with no processing. Check the memory use to make sure it drops back
down to where it was before you opened the stack.
Then repeat the process running just your first processing operation. Repeat
again with the first two operations, etc., and note the point at which the
memory doesn't drop back down. If you can figure out which plugin is causing
the problem, it will make it easier for us to debug.
HTH,
Curtis
On Thu, Apr 10, 2008 at 4:19 PM, Herbert M. Geller <
[hidden email]>
wrote:
> I am working with some very large stacks, do some processing, close the
> stacks, and then start over with the next batch.
> I am getting out of memory errors, when opening the second group of
> stacks. When I use the memory monitor, I find that, with all windows closed,
> except the memory monitor, it shows 564 MBytes used.
>
> I am on a Dual Processor Dell, with 2.5 G of RAM, where I have allocated
> 1600 MBytes and 4 threads for ImageJ.
>
> Is there an easy way to release memory without restarting ImageJ?
>
> --
> --------------------------------------
> Herbert M. Geller, Ph.D.
> Developmental Neurobiology Section
> National Heart Lung and Blood Institute, NIH
> 10 Center Drive MSC 1754
> Bldg 10, Room 6D18
> Bethesda, MD 20892-1754
> Tel: 301-451-9440; Fax: 301-594-8133
> e-mail:
[hidden email]
> Web:
http://dir.nhlbi.nih.gov/labs/ldn/index.asp> ---------------------------------------
>