内存溢出PermGen space & Java heap space解决办法(转载)
今天访问web服务器,点击几个网页,tomcat服务就瘫痪了,通过查看日志,发现java.lang.OutOfMemoryError: PermGen space错误,如下
Mar 6, 2010 3:27:06 PM org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler process
SEVERE: Error reading request, ignored
java.lang.OutOfMemoryError: PermGen space
Exception in thread "scheduler_QuartzSchedulerThread" java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-80-5" java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-80-3" java.lang.OutOfMemoryError: PermGen space
?
?
解决办法:
一、