Eclipse solution for memory overflow every time tomcat starts

The main reason is: the introduction of a large number of third-party framework packages in the project.

Simplest solution :

  eclipse中,window-->preferences-->Java-->Installed JREs

  Select the JRE and  click Edit

Write this sentence :

-Xms800m -Xmx800m -XX:MaxNewSize=256m -XX:MaxPermSize=256m

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326479609&siteId=291194637