Memory settings for ImageJ while debugging in Netbeans

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

Memory settings for ImageJ while debugging in Netbeans

Prof. Dr. Karl-Heinz Kunzelmann
Hello all;

during debugging in Netbeans I am currently limited to 63M memory for
ImageJ. I
do not know how to change this setting. For the runtime version there is a
file "ImageJ.cfg" which can be edited for proper memory settings. I would
assume that there is something similar for the debugger session.

I would appreciate any advice how to increase the memory usage to 200 MB.

Thank you very much.

Sincerely

Karl-Heinz



Example for the runtime settings.

ImageJ.cfg

C:\Programme\Java\jdk1.5.0_06\bin\javaw.exe
-Xmx200m -cp C:\PROGRA~1\Java\JDK15~2.0_0\lib\tools.jar;.\ij-plugins-
toolkit.jar;.\lib\dcmie.jar;ij.jar ij.ImageJ
Reply | Threaded
Open this post in threaded view
|

Re: Memory settings for ImageJ while debugging in Netbeans

audrey karperien
I debug in NetBeans 4.1 using "-Xms250m -Xmx850M" in Project Properties/Run/VMOptions.
   
  good luck,
  Audrey

"Prof. Dr. Karl-Heinz Kunzelmann" <[hidden email]> wrote:
  Hello all;

during debugging in Netbeans I am currently limited to 63M memory for
ImageJ. I
do not know how to change this setting. For the runtime version there is a
file "ImageJ.cfg" which can be edited for proper memory settings. I would
assume that there is something similar for the debugger session.

I would appreciate any advice how to increase the memory usage to 200 MB.

Thank you very much.

Sincerely

Karl-Heinz



Example for the runtime settings.

ImageJ.cfg

C:\Programme\Java\jdk1.5.0_06\bin\javaw.exe
-Xmx200m -cp C:\PROGRA~1\Java\JDK15~2.0_0\lib\tools.jar;.\ij-plugins-
toolkit.jar;.\lib\dcmie.jar;ij.jar ij.ImageJ
Reply | Threaded
Open this post in threaded view
|

Re: Memory settings for ImageJ while debugging in Netbeans

Prof. Dr. Karl-Heinz Kunzelmann
Hello All,

Audrey hint helped a lot. However, as I use the Ant script of ImageJ I had
to change this script and now it works.


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


Thanks a lot

Karl-Heinz

At 23:50 18.06.2006, you wrote:

>I debug in NetBeans 4.1 using "-Xms250m -Xmx850M" in Project
>Properties/Run/VMOptions.
>
>   good luck,
>   Audrey
>
>"Prof. Dr. Karl-Heinz Kunzelmann" <[hidden email]> wrote:
>   Hello all;
>
>during debugging in Netbeans I am currently limited to 63M memory for
>ImageJ. I
>do not know how to change this setting. For the runtime version there is a
>file "ImageJ.cfg" which can be edited for proper memory settings. I would
>assume that there is something similar for the debugger session.
>
>I would appreciate any advice how to increase the memory usage to 200 MB.
>
>Thank you very much.
>
>Sincerely
>
>Karl-Heinz
>
>
>
>Example for the runtime settings.
>
>ImageJ.cfg
>
>C:\Programme\Java\jdk1.5.0_06\bin\javaw.exe
>-Xmx200m -cp C:\PROGRA~1\Java\JDK15~2.0_0\lib\tools.jar;.\ij-plugins-
>toolkit.jar;.\lib\dcmie.jar;ij.jar ij.ImageJ

***********************************************


Prof. Dr. Karl-Heinz Kunzelmann
Poliklinik für Zahnerhaltung und Parodontologie
Ludwig-Maximilians-Universität-München
Goethestr. 70
D-80336 München
Germany

email: [hidden email]
homepage: www.kunzelmann.de


Herausgeber
Journal Ästhetische Zahnheilkunde
http://www.elsevier.de/aesthet-zahnmed