- MyEclipse memory is not enough, but also show memory overflow and other issues what's going on? ( Java.lang.OutOfMemoryError:PermGen space and its solutions )
Solve:
After MyEclipse memory overflow, you can modify the virtual memory size to resolve the following steps:
1. Set Default VM Arguments
In MyEclipse, open windows-> preferences->java->installed jres-> Click on the Jdk->edit->default VM you are using Arguments text box, type:-xms64m-xmx256m
2. If the Web project also reported memory overflow, you may want to set up tomcat memory.
(1) Tomcat installation root directory%tomcat%bin/catalina.bat file, SET java_opts line;
(2) MyEclipse Configure the Web server configuration window-preferences-myeclipse-servers-tomcat 5.x-jdk Optional Java VM arguments is configured as:
-xms256m-xmx512m-xx:maxnewsize=256m-xx:maxpermsize=256m.
Problems and solutions in Java development