Login  Register

Re: more memory

Posted by Gabriel Landini on Aug 26, 2007; 1:47pm
URL: http://imagej.273.s1.nabble.com/more-memory-tp3698348p3698349.html

On Sunday 26 August 2007, Thoralf Seewald wrote:
> At my application I am uploading with a selfwritten plug-in the whole
> stack (all nearly 300 images). It is necessary to get the z-values
> out of each image corresponding to the points of the other images.
> Therefore I had to increase the 'memory & threads' option. But image
> works only till 2100MB, if I want to use more, ImageJ doesn´t start
> anymore. Inside of a 32bit-Linux distribution like Fedoracore 5 I
> could use around 2750MB.

Hi,
I have the feeling that there is some misunderstanding of the previous
suggestions given earlier, but I may be wrong.

There is a plugin that is called "Virtual Stack Opener".
http://rsbweb.nih.gov/ij/plugins/virtual-opener.html
which now is included in IJ in the File>Import>Image Sequence
(you check: Use Virtual Stack).

This loads one slice at a time from disk, so you would not need to load the
whole stack (and therefore would allow you to use stacks which are much
larger than your memory).

In a previous mail, you said that the virtual opener takes the same amount of
memory than loading whole the stack. Can you verify this? This should not be
the case because at any one time there is a single slice on memory.

But now you say that you are using a self-written plugin that loads the whole
stack, so this is not the virtual stack opener...

Here is all the information on how to increase the memory available for IJ:

http://imagejdocu.tudor.lu/imagej-documentation-wiki/faq/how-do-i-increase-the-memory-in-imagej
http://imagejdocu.tudor.lu/imagej-documentation-wiki/faq/can-i-use-more-than-4-gb-of-memory

I hope it helps.
Cheers,

Gabriel