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 -Dfile.encoding=UTF-8" regards Leon (Of course you can give less memory, like 256m or 128m). On Tue, Aug 18, 2009 at 8:48 PM, Daniele Development-ML<daniele....@googlemail.com> 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" > > but the VM cannot be created and from the catalina.out file I get this > printout: > > Invalid maximum heap size: -Xmx=100m > Could not create the Java virtual machine. > > The Tomcat home page can be accessed (port number 8080), but the home page > of my application gives the following error: > > “localhost” refused the connection. > > Likely causes of the problem are > > * the service http-alt isn't started. > Try to start it using the Services Configuration Tool in System > > Control Centre, or > > * the port number 8080 is wrong. > > Any hints/suggestions about this are much appreciated. > > My OS is Debian Linux. > > Thanks! > > Dan > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org