1. Set Eclipse Memory usage
Modify the Eclipse.ini file under the Eclipse root directory
-vmargs//virtual machine settings
-xms40m
-xmx256m
-xx:permsize=128m//non-heap memory settings
-xx:maxpermsize=256m
-vmargs-xms128m-xmx512m-xx:permsize=256m-xx:maxpermsize=512m
2, JVM memory settings
Open Eclipse window-preferences-java-installed jres-edit-default VM Arguments
Enter in the VM argument:-xmx128m-xms64m-xmn32m-xss16m
3, Tomcat memory settings
Open the Bin folder under the Tomcat root directory and edit Catalina.bat
Modified to: Set java_opts=-xms256m-xmx512m
4, MyEclipse virtual memory settings
Eclipse.exe Shortcut--Right-click/Properties fill in the target with the following content
"D:\eclipse\eclipse.exe"-vmargs-xms128m-xmx512m-xx:permsize=64m-xx:maxpermsize=128m
The installation path for eclipse within double quotation marks.
MyEclipse Available Memory is low warning workaround