Eclipse virtual memory set quote address: http://liujin.ah.blog.163.com/blog/static/37941088201012391052189/
1. Set eclipse memory usage
Modify the eclipse. ini file under the eclipse root directory
-Vmargs // Virtual Machine Settings
-Xms40m
-Xmx256m
-XX: permsize = 128 M // non-heap memory settings
-XX: maxpermsize = 256 m
-Vmargs-xms128m-xmx512m-XX: permsize = 256 m-XX: maxpermsize = 512 m
2. JVM memory settings
Open eclipse window-preferences-Java-installed jres-edit-default VM arguments
Enter-xmx128m-xms64m-xmn32m-xss16m In the VM independent variable
3. Tomcat memory settings
Open the bin folder under the Tomcat root directory and edit Catalina. bat.
Set java_opts =-xms256m-xmx512m
4. myeclipse virtual memory settings
Eclipse.exe shortcut -- Right-click the shortcut menu and enter the following content in the target:
"D:/Eclipse/eclipse.exe"-vmargs-xms128m-xmx512m-XX: permsize = 64 m-XX: maxpermsize = 128 m
The installation path of eclipse is enclosed in double quotation marks.