- This topic has 6 replies, 4 voices, and was last updated 17 years, 5 months ago by Aaron Digulla.
-
AuthorPosts
-
waltuzarMemberHi group, my problem is the next one:
Im working on windows XP. After working for like an hour I get the following error “my eclipse has detected that less than 5% of the 64MB of perm gen (non heap memory) space remains”; In the forum other developers have already post something related, I’ve done all the possible solutions moderators tell users to do, but I still get the same error after working for some time.
As told in all the related posts If you continue working, after some time myEclipse just crashes and stops working.
I already did the part of editing the shortcut and the part of editing the eclipse.ini, with no results…..anticipating my thanks for any help anyone can give me !!!!
Installation Details…..
*** Date:
Wednesday, July 11, 2007 5:31:19 PM GMT-05:00** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_06*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 5.1.0 GA
Build id: 20061111-5.1.0-GA*** Eclipse details:
Eclipse SDKVersion: 3.2.2
Build id: M20070212-1330Eclipse Platform
Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
Build id: M20070212-1330Eclipse RCP
Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
Build id: M20070212-1330Eclipse Java Development Tools
Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
Build id: M20070212-1330Eclipse Plug-in Development Environment
Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
Build id: M20070212-1330Eclipse Project SDK
Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
Build id: M20070212-1330Eclipse Graphical Editing Framework
Version: 3.2.1.v20060921
Build id: 20060921-1617Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
D:\eclipse2\eclipse322\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
27c_7c
-vmargs -Xms384M -Xmx512M -XX:PermSize=384M -XX:MaxPermSize=384M
-vm
C:\WINDOWS\system32\javaw.exe
Loyal WaterMemberHave you tried optimizing your memory settings as mentioned in this FAQ
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10087.htmlI guess this should solve you problem.
waltuzarMemberHi nipun, thanks for the suggestion but I’ve already tried that, just like how it is said in the article and it hasn’t changed anything at all MyEclipse still crashes. It’s just annoying how you have to restart Myeclipse every time you get the warning.
I tried that command line in the short cut and in the eclipse.ini; still no change.
Loyal WaterMemberDo you get the “Less than 5% of 64mb” error everytime ? If thats the case then your settings are not being picked up from the eclipse.ini file. Please make sure there are no extra new line characters. The format of eclipse.ini is very picky… sometimes an extra newline character will cause Eclipse to parse it wrong.
Can you paste your shortcut AND eclipse.ini contents here for me please.
waltuzarMemberHi, yes I get the error every time. Exactly thats what I suspect, that the command lines are not been read.
here they are:
shortcut:
D:\eclipse2\eclipse322\eclipse.exe -vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128Meclipse.ini :
-vmargs -Xms384M -Xmx512M -XX:PermSize=384M -XX:MaxPermSize=384M
Scott AndersonParticipantOne thing that I notice is that you’re running JDK 1.5.0_06. There were lots of issues with the older 1.5 JDK’s in this area.
I think if you install the latest JDK and ensure you’re using it to start up with the -vm option I think that will resolve the issue.eclipse.exe -vm <path-to-jdk>\bin\javaw.exe -vmargs ...
Aaron DigullaMemberWhat parts of MyEclipse are you using? I have a similar problem (out of permgen after a while) and I only use the JSP editor.
I’m on Java 1.6_01 with 256m PermGen. ME will run out of PermGenafter 16-24h of use.
What’s strange in my case: The error message says “32MB PermGen” which is wrong. I have to many plugins that Eclipse wouldn’t even start with 32MB PermGen 🙂
-
AuthorPosts