Find the eclipse. ini file in the eclipse root directory and open and modify it as follows:
-Showsplash
Org. Eclipse. Platform
-- Launcher. xxmaxpermsize
512 m
-Vmargs
-Xms256m
-Xmx512m
-XX: permsize = 128 m
-XX: maxpermsize = 128 m
-Vmargs: Specifies the virtual machine;
Permsize and maxpermsize should be set to the same value, so that the system performance can be avoided because the preset is not enough and the memory is constantly extended.
If memory overflow occurs during Tomcat running, configure the startup parameters for the JVM used by Tomcat, find the installed JDK in eclipse, and enter the following parameters in the default VM arguments input box:
-Xms128m-xmx128m-XX: permsize = 64 m-XX: maxpermsize = 128 m
If the maven plug-in reports that JDK cannot be found at eclipse startup, you can configure the following parameters in the INI file of eclipse before-vmargs:
-VM
D:/program files/Java/jdk1.5.0/bin/javaw.exe