Tomcat startup project reports an error Java lang.OutOfMemoryError: Java heap space

Recently, when deploying a web project using MyEclipse and starting tomcat, an error is reported:

Solution: add configuration in MyEclipse;

window--》preferences--》Java--》Installed Jres

Select the configured JDK and click Edit. Add parameters in default VM arguments: - xms128m - xmx512m. It's enough for me to set this value. The specific size depends on your own situation.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>