> From: Bob Riaz [mailto:[EMAIL PROTECTED] > Subject: Heap out of memory error > > From time to time I have come across this error in the Tomcat logs: > java.lang.OutOfMemoryError: Java heap space
If you're running Tomcat as a Windows service, use the tomcat6w.exe program to set initial and maximum heap sizes. If you're not running as a service, set JAVA_OPTS to include the -Xms and -Xmx parameters. And when you need something to put yourself to sleep, browse through this: http://java.sun.com/javase/technologies/hotspot/gc/index.jsp - 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]