I am developing web application useing Java/J2EE. when i deployed that application in server it runs for two days after that tomcat automatically stops and print this error message and also if don't access that application for 1 day.Could any help me to solve this issue.
I have set heap size -Xms1024M -Xmx1536M -XX:MaxPermSize=1024M'
There is insufficient memory for the Java Runtime Environment to continue. Native memory allocation (malloc) failed to allocate 32776 bytes for Chunk::new An error report file with more information is saved as: /usr/local/apache-tomcat-7.0.53/bin/hs_err_pid15512.log