tomcat 内存溢出

先在eclipse安装目录中将eclipse的启动参数调大一些

openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms128m
-Xmx1024m

然后在eclipse的server栏,找到tomcat选项,打开tomcat的配置

 


在arguments 标签框下面的VM Arguments 框后面接上自己的tomcat启动虚拟机参数就可以了

posted @ 2016-08-24 14:55  java_cui28  阅读(117)  评论(0编辑  收藏  举报