TOMCAT起步内存溢出问题Exception in thread ""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
在这里插入图片描述

发布了8 篇原创文章 · 获赞 0 · 访问量 276

猜你喜欢

转载自blog.csdn.net/qq_35201262/article/details/103440512