Thursday, March 15, 2012

Eclipse: permGen or Maven error on console

Please add the following in the eclipse shortcut or eclipse.ini

For Shortcut:  place following lines in the shortcut target

"\eclipse.exe" -vm "\bin\javaw" -vmargs -Xms256m -Xmx768m -XX:PermSize=256M -XX:MaxPermSize=512M 

For eclipse.ini: place following lines in eclipse.ini
-vm 
"\bin\javaw" 
-vmargs 
-Xms256m 
-Xmx768m 
-XX:PermSize=256M 
-XX:MaxPermSize=512M

Replace the followings:
- Eclipse home
- JDK home


No comments:

Post a Comment