Login  Register

Re: increase memory for debugging plugin in Netbeans

Posted by Soft Aliance on Oct 26, 2006; 3:56pm
URL: http://imagej.273.s1.nabble.com/increase-memory-for-debugging-plugin-in-Netbeans-tp3701179p3701180.html

hi,

I found the follwoing hint from Karl-Heinz useful,
Modifying the antscript (build.xml) as follows,

Change (line 36 in my build.xml)

<target name="run" depends="build" description="Build and run ImageJ.">
    <java jar="ij.jar" fork="yes" />
  </target>
to

<target name="run" depends="build" description="Build and run ImageJ.">
    <java maxmemory="1000m" jar="ij.jar" fork="yes" />
  </target>



Balaji J


On 10/26/06, [hidden email] <[hidden email]> wrote:

>
> Hi all,
> I read documentation for debugging imageJ plugins in Netbeans but I have a
> problem: memory. To increase memory in ImageJ it is sufficient append
> "-Xmx512m" in imageJ-java call, but how can I obtain the same thing in
> Netbeans??
> I think I should modify build.xml file (problably adding "maxmemory"), but
> I don't know how..
> Can someone write correct tag?? (or better with line modify and how?)
>
> Thanks a lot
>
>    Nicola B.
>



--
Balaji J
Department of biochemistry
Weil Medical College of Cornell University, New York - 113 74.
alt email: [hidden email]