Login  Register

Re: changing memory allocation using Fiji/ImageJ

Posted by dscho on Jun 07, 2011; 4:58pm
URL: http://imagej.273.s1.nabble.com/changing-memory-allocation-using-Fiji-ImageJ-tp3684178p3684179.html

Hi Susan,

On Tue, 7 Jun 2011, Susan Travers wrote:

> I am running ImageJ under the Fiji application on a PC running windows
> XP. When I try to change the memory allocation under the options menu
> there is no effect on the amount of memory allocated after restarting
> the program.  This occurs regardless of whether I try to increase or
> decrease it.  I noticed that the image j cfg file was unchanged by using
> this command, but also noted that the amount of memory used was
> different from what was denoted in the cfg file-- so the memory
> allocation must come from somewhere else, but I don't know where to
> look!

Beware, on Windows it might be that you are not allowed to write to
C:\Program Files (or whatever the localized name is on your computer), and
therefore the .cfg might not be writable by you. If that is not the issue,
please start Fiji from the command line as described in
http://fiji.sc/Debugging_intro#Command_line_debugging

The most likely reason why your Fiji does not start with exactly the same
amount of RAM as specified in the .cfg file is that Java often cannot
allocate as much RAM due to Operating System specific reasons, and rather
than fail, Fiji tries again with less RAM.

Ciao,
Johannes