- This topic has 13 replies, 2 voices, and was last updated 17 years, 5 months ago by
Loyal Water.
-
AuthorPosts
-
kwameMemberI am getting this Error with MyEclipse running on Mac OS X, but not on MyEclipse running on Windows XP:
MyEclipse has detected that less than 5% of the 64MB of Perm Gen (Non-heap memory) space remains.
It is strongly recommended that you exit and restart MyEclipse with new virtual machine
memory paramters to increase this memory. Failure to do so can result in data loss.The recommended Eclipse memory parameters are:
eclipse.exe -vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128MWhat does it mean, and what can I do about it? Where can I make these changes to the memory parameters?
May 1, 2007 at 2:43 pm #269611
Loyal WaterMemberHi Kwame,
By setting these parameters, you are increasing the Perm Space and Heap Space. You’re basically optimizing your memory settings.This change has to be made in the eclipse.ini file. To get at the eclipse.ini file you need to right click on your Eclipse executable, do “Show Contents” then drill down to the Mac OS folder which should contain your eclipse.ini file inside. On Mac, Eclipse ships quite a few default flags in the eclipse.ini file, so you might want to back it up before changing it.
May 1, 2007 at 4:05 pm #269615
kwameMemberThanks for the reply.
These are the contnts of my eclipse.ini file:
-vmargs
-Dosgi.splashLocation=/Users/name/Library/MyEclipse 5.1.1 GA/eclipse/MyEclipseSplash.bmp-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Xbootclasspath/p:../../../plugins/org.eclipse.jdt.debug_3.2.1.r322_v20070130/jdi.jar
-Xms128m
-Xmx512m
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Dorg.eclipse.swt.internal.carbon.noFocusRingBut the error message would like me to change to :
-vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:PermSize= 128M
So do I append this to the file, or just change the whole file to this?
May 2, 2007 at 4:52 am #269632
Loyal WaterMember-vmargs
-Dosgi.splashLocation=/Users/name/Library/MyEclipse 5.1.1 GA/eclipse/MyEclipseSplash.bmp-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Xbootclasspath/p:../../../plugins/org.eclipse.jdt.debug_3.2.1.r322_v20070130/jdi.jar
-Xms128m
-Xmx512m
-XX:PermSize=64m
-XX:MaxPermSize=128m
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Dorg.eclipse.swt.internal.carbon.noFocusRingAdd -XX:PermSize=64m and -XX:MaxPermSize= 128m as shown above.
May 9, 2007 at 8:58 am #269895
kwameMemberWhen I insert
-XX:PermSize=64m
-XX:MaxPermSize=128minto the eclipse.ini file, MyEclipse no longer opens. I get a “JVM terminated” message.
if i take out those 2 lines, it works just fine. Any suggestions
May 9, 2007 at 11:14 am #269904
Loyal WaterMemberHi Kwarne,
On some OS, even a simple newline char will screw up the whole thing. Try and put all the memory args on 1 line in the eclipse.ini file and see if it loads it then.
http://www.myeclipseide.com/PNphpBB2-viewtopic-t-10087-sid-f71d32f44d92c3ceccdccc1ea6b34f68.htmlDecember 7, 2007 at 9:52 pm #279467
kwameMemberI upgraded to MyEclipse6.0 and again I’m getting the same out of memory error, only now i cant find eclipse.ini to make the adjustments:
-vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128MDecember 10, 2007 at 11:40 am #279508
Loyal WaterMemberkwame,
Are there any additional messages being logged under <workspace>/.metadata/.log file ?December 10, 2007 at 1:16 pm #279513
kwameMemberThanks for the reply. Its working now. I think what happened was that I needed to have the arguments on different lines and not all on the same line.
December 11, 2007 at 2:29 am #279528
Loyal WaterMemberGlad it worked. Thanks for letting me know.
January 5, 2008 at 1:46 pm #280304
kwameMemberThis message has not been recovered.
January 7, 2008 at 5:51 am #280333
Loyal WaterMemberThis message has not been recovered.
January 7, 2008 at 8:13 am #280343
kwameMemberThis message has not been recovered.
January 7, 2008 at 8:19 am #280344
Loyal WaterMemberThis message has not been recovered.
-
AuthorPosts