Hi Johannes,
thanks for the help, it works. But I think you have to call:
java -jar -Xmx128m ij.jar ;-)
regards
heiko
2006/9/22, Johannes Schindelin <
[hidden email]>:
>
> 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
>
>
--