Skip to content


tomcat 内存溢出

装完nginx环境重启后,tomcat不能启动
tail tomcat/logs/catalina.out

2008-8-25 15:55:37 org.apache.tomcat.util.net.JIoEndpoint processSocket
严重: Error allocating socket processor
java.lang.OutOfMemoryError: Java heap space
        at java.lang.Thread.<init>(Thread.java:208)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.start(JIoEndpoint.java:468)
        at org.apache.tomcat.util.net.JIoEndpoint.newWorkerThread(JIoEndpoint.java:681)
….
  

free -m 看了一下内存从2G变成了1G,让机房重插下内存后一切正常。

Posted in Tomcat, 技术.

Tagged with , .


No Responses (yet)

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.