Heap out of memory error 2007-11-05 - By Caldarale, Charles R
Back > From: Bob Riaz [mailto:briaz@(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@(protected) To unsubscribe, e-mail: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|