increase memory for debugging plugin in Netbeans

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

increase memory for debugging plugin in Netbeans

nicola76b@libero.it
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.
Reply | Threaded
Open this post in threaded view
|

Re: increase memory for debugging plugin in Netbeans

Soft Aliance
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]