Login  Register

Re: Setting ImageJ memory in Netbeans?

Posted by Michael Schmid on Jun 26, 2007; 10:40am
URL: http://imagej.273.s1.nabble.com/Setting-ImageJ-memory-in-Netbeans-tp3699018p3699019.html

Hi Christopher,

Now it seems I have really found the answer:

In build.xml (the ant script), replace
   <java jar="ij.jar" fork="yes" />
by
   <java jar="ij.jar" fork="yes" maxmemory="256m" />


Michael
________________________________________________________________

On 25 Jun 2007, at 06:20, Christopher Coulon wrote:

> Hi,
>
> I have been using Eclipse as an IDE for ImageJ and recently  
> switched to
> using Netbeans, but I have run across a problem: I am getting an  
> out of
> memory error stating that all available memory (63mb) has been  
> used.  I used
> to get this error in Eclipse with ImageJ until Volker Bäcker kindly  
> showed
> me how to increase the memory of ImageJ in Eclipse by opening the  
> ImageJ run
> configuration dialog and typing -Xms256m –Xmx512m into the VM  
> arguments.
> Can anyone show me how to do that in Netbeans?  Thanks in advance,
>
> Chris Coulon