Java heap memory error
Posted on 2009-06-28
SEVERE: Caught exception (java.lang.OutOfMemoryError: Java heap space) executing org.apache.jk.common.SocketConnection@1906e61, terminating thread
my web application runs well for full day. when it comes to peak hours its suddenly crashes with java heap memory error and totally hangs.
i use java 1.4, tomcat 5.5, mysql 5.
Once i restart tomcat mean its work fine.
Why this happen in regular. anyone kindly help me to sort out.
My system Memory is 1GB.
Thanks in Advance