Re: Increasing Heap Size and Max Perm Size

2009-08-19 Thread Daniele Development-ML
The JVM actually recognises that the value being set/asked for is 100 as when I shut it down, I get a message saying that a JVM with the specified 100m of memory cannot be created. On Tue, Aug 18, 2009 at 11:48 PM, André Warnier a...@ice-sa.com wrote: Daniele Development-ML wrote: Hi all,

Re: Increasing Heap Size and Max Perm Size

2009-08-19 Thread Daniele Development-ML
Forgot to mention that when I try with the following command: java -Xms512m -Xmx750m it does succeed in creating the JVM - differently (but obviously), if I try: java -Xms512m -Xmx6750m it fails (as expected). I don't understand why I get different behaviour passing this option the JVM when

Re: Increasing Heap Size and Max Perm Size

2009-08-19 Thread Markus Schönhaber
Daniele Development-ML: Forgot to mention that when I try with the following command: java -Xms512m -Xmx750m it does succeed in creating the JVM [...] I don't understand why I get different behaviour passing this option the JVM when starting Tomcat, and when I give directly to the JVM

Re: Increasing Heap Size and Max Perm Size

2009-08-19 Thread André Warnier
Daniele Development-ML wrote: .. Just a detail about the usage of the list : when you respond, respond to the list only, unless specifically asked to post to the one person in particular. Since we are all subscribed to the list, we all get all the list messages anyway. If you in addition send

Re: Increasing Heap Size and Max Perm Size

2009-08-19 Thread Daniele Development-ML
them. Dan On Wed, Aug 19, 2009 at 2:08 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Daniele Development-ML [mailto:daniele@googlemail.com] Subject: Re: Increasing Heap Size and Max Perm Size Practically, everything works when setting the above options through

Re: Increasing Heap Size and Max Perm Size

2009-08-19 Thread André Warnier
Daniele Development-ML wrote: Found a solution here: http://www.coderanch.com/t/85725/Tomcat/heap-space-setting-Tomcat-Linux http://www.coderanch.com/t/85725/Tomcat/heap-space-setting-Tomcat-LinuxPractically, everything works when setting the above options through CATALINA_OPTS variable.

Increasing Heap Size and Max Perm Size

2009-08-18 Thread Daniele Development-ML
Hi all, I'm trying to increase the sizes of the heap and of the max perm by passing the options with the values (in catalina.sh) JAVA_OPTS=$JAVA_OPTS -Xmx=100m -XX:MaxPermSize=350m -Dfile.encoding=UTF-8 but the VM cannot be created and from the catalina.out file I get this printout: Invalid

Re: Increasing Heap Size and Max Perm Size

2009-08-18 Thread Leon Rosenberg
the system actually gave you the answer: Invalid maximum heap size: -Xmx=100m Could not create the Java virtual machine. If you are going to give the PermSpace 350M, you must have a lot of memory, so giving half gb for heap won't heart: JAVA_OPTS=$JAVA_OPTS -Xmx=512m -XX:MaxPermSize=350m

Re: Increasing Heap Size and Max Perm Size

2009-08-18 Thread André Warnier
Daniele Development-ML wrote: Hi all, I'm trying to increase the sizes of the heap and of the max perm by passing the options with the values (in catalina.sh) JAVA_OPTS=$JAVA_OPTS -Xmx=100m -XX:MaxPermSize=350m -Dfile.encoding=UTF-8 Try without the = signs ? -Xmx100m