Re: increase memory of created jar-file
Posted by dscho on Sep 21, 2006; 11:16pm
URL: http://imagej.273.s1.nabble.com/increase-memory-of-created-jar-file-tp3701539p3701540.html
Hi,
On Fri, 22 Sep 2006, Heiko Gleitsmann wrote:
> i´m developing with eclipse and export the imageJ project as a jar file.
> if i start imagej.jar the memory is limited to 64 mb (please correct if
> i´m wrong). And now the question: is it possible to change respectively
> increase the memory of the running jar file? I know that there exists
> the file IJ_Prefs.txt, but there i can´t find something that has to do
> with memory.
You have to call java appropriately:
java -Xmx128m ij.jar
for 128MB. The problem with IJ_Prefs.txt is that it is read only when Java
is _already_ started (with 64MB).
Hth,
Dscho