> From: Milanez, Marcus [mailto:[EMAIL PROTECTED] 
> Subject: RES: Perm Size
>
> -D-XX:-UseSerialGC 
> -D-XX:MaxPermSize=256m 
> -D-XX:PermSize=128m

The -D prefix is not used for any of the above options.  -D is used only
to set Java system properties, which heap-related options are not.

> Through eclipse interface using Sysdeo plugin I could do that 
> easily...

It's not running as a service in that case; the options are placed
directly on the command line for the Java process spawned by Eclipse.

> Can you show me how is your "Java Options:" set, so that 
> I could compare it?

Just for comparison, even though you've already got it working:

-Dcatalina.base=C:\apache-tomcat-6.0.13
-Dcatalina.home=C:\apache-tomcat-6.0.13
-Djava.endorsed.dirs=C:\apache-tomcat-6.0.13\endorsed
-Djava.io.tmpdir=C:\apache-tomcat-6.0.13\temp
-Dcom.sun.management.jmxremote
-XX:-UseSerialGC
-XX:MaxPermSize=256m
-XX:PermSize=128m

Initial and Maximum memory pool are set to 128m and 256m, respectively.
This is on WinXP Pro.

It's possible that the -XX:-UseSerialGC is not allowed on some JRE
versions, since it really makes no sense; I'm running Sun's
1.6.0_01-b06.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to