myeclipse tomcat内存溢出解决方法

在 tomcat的catalina.bat中设置set JAVA_OPTS=-Xms128m -Xmx256m,直接使用startup.bat启动tomcat没有问题。


MyEclipse –> Window –> Preference… –> MyEclipse –> Application Servers –>

Tomcat –> Tomcat 6.X –> JDK –> Optional Java VM arguments :进行设置

设置的内容:-Xms256m -Xmx512m


This entry was posted in Computer, Java. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s