Open windows-> Preferencesthen select Java->installed JREs on the right menu.Click the JDK on the right, then click the "Edit" buttonin the Default VM arguments text box, type:-xms256m-xmx512m-xx:permsize=256m-xx:maxpermsize=1024m, then click the Finish button to-xms512m-xmx1024m-xx:permsize=512m-xx:maxpermsize=1024mModify MyEclipse's Myeclipse.ini filefind the installation directory of MyEclipse, if not modify the default is C:\MyEclipse10.1\Genuitec\MyEclipse 10.1 has a Myeclipse.ini configuration file, set as follows:-vmargs- xmx512m-xx:maxpermsize=256m-xx:reservedcodecachesize=64mENDset Tomcat's memory sizeTomcat Installation Root%tomcat%bin/catalina.bat file, set java_opts line; Set JAVA_OPTS=-XMS1024M-XMX1024M-XX:PERMSIZE=128M-XX: maxpermsize=256mthe values here can be adjusted freely, depending on the situation.
MyEclipse Modify Set Default VM Arguments