Login  Register

Re: making memory

Posted by Robert Martin-3 on Jan 16, 2006; 9:14pm
URL: http://imagej.273.s1.nabble.com/making-memory-tp3704020p3704021.html

I just realized that I was disabling the changes that I put into effect
and when I unblocked the changes, I was able to get 85 images from my
catscan which took 473MB of Memory ( the catscan has a very high
resolution!).  Although this is better than before (only 15 images) I
am wondering why the system conked out at only 473MB and not the 1500
MB that I changed it to (is some of this ram used for other processes
running the program that I am not aware of).  I noted that using 3-D
data viewer took a whole bunch of memory as well and I need to use this
program or something similar to look at vertical slices.

Basically, I need to have all 1800 images open in order to perform a
vertical slice and I'm wondering if this is a feasible idea or if I
should create some sort of file structure that 3-D data viewer could
call up data from a disk in a more regular format (I calculate that the
images would amount to 473MB*1800/85~=10GB Ram which no system has
these days though I might be able to convert the data to 8 or 16 bit
unsigned if that helps).  

Basically, I am wondering if you have any ideas on how to do this?

Thanks so much!
Robert



Wayne Rasband wrote:


>\I have a question about the program memory.
>>
>> I am downloading a sequence of DICOM images and was limited
>> to about 15 slices because the log file told me that I was
>> using all of my 256MB of memory.  I then went into the
>> edit/options/memory function to change my maximum memory
>> allowed to 1.5GB (I have 2.0 GB Ram).
>>
>> After closing and restarting the program, the icon doesn't
>> work and I have to click the ij.jar file instead - but in
>> this instance the log file tells me that I have only 63MB of
>> Ram to use, (about 5 images) - much less than I started
>> with.
>
>You should be able get ImageJ running again by using a text editor to
>change the second line of the ImageJ.cfg file (in the ImageJ folder) to
>something like:
>
>      -Xmx512m -cp ij.jar ij.ImageJ
>
>> Does anyone know what went wrong or can suggest an antedote?
>> Does having an external harddrive solve this or does it have
>> to be ram memory?  I ideally have to compile 1800 images or
>> so into a 3-D data viewer to do my analysis.
>
>ImageJ normally requires that all image reside in RAM but the Virtual
>Stack Opener plugin at
>
>     http://rsb.info.nih.gov/ij/plugins/virtual-opener.html
>
>will allow you to view and analyze all 1800 images. Another way to look
>at the images would be to use the Open Next command that was added in
>ImageJ 1.35k. It allows you to view the next image in a sequence by
>pressing shift-o and the previous one by pressing alt-shift-o.
>
>-wayne
>