您的位置:首页 > 理论基础 > 计算机网络

TOMCAT起步内存溢出问题Exception in thread ""http-bio-8080"

2015-06-03 17:38 531 查看
现象如下:

 
 Tomcat7启动后,后台抛出如下异常,前台一直无法登陆

   Exception in thread""http-bio-8080"-exec-6" java.lang.OutOfMemoryError: PermGenspace

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: PermGenspace

解决方案:

   给tomcat指定的jdk加大启动的内存参数

   -Xms128m -Xmx512m-XX:PermSize=128m -XX:MaxPermSize=128m

图示如下:

MyEclipse软件中的菜单,windows---preference----tomcat



内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  内存溢出 tomcat