> From: dfobox [mailto:dfo...@gmail.com] > Subject: RE: Migrating website from own server to hosting company > > I found somewhere I have to add it to JAVA_OPTS in catalina.sh
Properly, you would create a setenv.sh script in Tomcat's bin directory to set JAVA_OPTS; that way you avoid modifying the Tomcat-supplied scripts. > export JAVA_OPTS="-Xmx32000000 -Djava.awt.headless=true > -XX:+HeapDumpOnOutOfMemoryError" What JVM version are you using (vendor and level)? That should work on a 1.5 or later Sun JVM. BTW, it's less error prone to specify the heap size using a multiplier suffix than all those zeroes: -Xmx32m; but that's still too small a heap to do much of anything useful these days. > Tomcat doesn't start after I changed it What's in the logs? - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org