http-bio-8080"-exec-6"(转)

现象如下:
 

Tomcat7启动后,后台抛出如下异常,前台一直无法登陆
Exception in thread ""http-bio-8080"-exec-6" java.lang.OutOfMemoryError: PermGen space
Exception in thread ""http-bio-8080"-exec-9" java.lang.OutOfMemoryError: PermGen space
Exception in thread "schedulerFactory_Worker-3" java.lang.OutOfMemoryError: PermGen space
Exception in thread ""http-bio-8080"-exec-2" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Timer-0" java.lang.OutOfMemoryError: PermGen space

解决方案:
   给tomcat指定的jdk加大启动的内存参数
   -Xms128m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=128m



图示如下:
MyEclipse软件中的菜单,windows---preference----tomcat

我很勤奋,因为我相信勤能补拙,何况我也不笨!

 
原文地址:https://www.cnblogs.com/bdqczhl/p/5859720.html