Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » eclipse goes mental with garbage collection(eclipse moving from eden to survivor)
icon5.gif  eclipse goes mental with garbage collection [message #554713] Tue, 24 August 2010 08:19 Go to next message
elhanan Maayan is currently offline elhanan MaayanFriend
Messages: 131
Registered: November 2009
Senior Member
hi..

from the time when i click right click on a property of a project it takes a while (half a minute) for it to show or focusing on eclipse again does the same thing.
in visualvm i see that in these seconds there is constant garbage collection between eden and survivor 0 and survivor 1, meaning eden graphs fills up, dumps to s0 then fills up again and dumps s1 and fills again and dumps to s0.
what's going on?
Re: eclipse goes mental with garbage collection [message #554979 is a reply to message #554713] Wed, 25 August 2010 04:13 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
On 24/08/10 1:49 PM, elhanan wrote:
> from the time when i click right click on a property of a project it
> takes a while (half a minute) for it to show or focusing on eclipse
> again does the same thing.
> in visualvm i see that in these seconds there is constant garbage
> collection between eden and survivor 0 and survivor 1, meaning eden
> graphs fills up, dumps to s0 then fills up again and dumps s1 and fills
> again and dumps to s0. what's going on?

Probably you have got your VM settings wrong. Whats is your
OS/JVM/Eclipse build id/VM settings?

--
- Prakash
Platform UI Team, IBM

www.eclipse-tips.com
Re: eclipse goes mental with garbage collection [message #554981 is a reply to message #554979] Wed, 25 August 2010 05:02 Go to previous messageGo to next message
elhanan Maayan is currently offline elhanan MaayanFriend
Messages: 131
Registered: November 2009
Senior Member
eclipse 3.5.2 win xp sp2 3GB ram

--launcher.XXMaxPermSize
256M
-vm
C:/Java/jdk1.6.0_20/bin
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dsun.lang.ClassLoader.allowArraySyntax=true
-Dosgi.requiredJavaVersion=1.5
-Xms768m
-Xmx768m
-server
-Dide.gc=true

i also experiminted with:
-vmargs
-Dsun.lang.ClassLoader.allowArraySyntax=true
-Dosgi.requiredJavaVersion=1.5
-Xms768m
-Xmx768m
-server
-XX:+UnlockExperimentalVMOptions
-XX:+UseG1GC
--XX:+ExplicitGCInvokesConcurrent
--XX:+CMSClassUnloadingEnabled
--XX:+CMSPermGenSweepingEnabled
--XX:+AggressiveOpts
-Dawt.useSystemAAFontSettings=lcd
-ea

and
-server
-XX:+UseConcMarkSweepGC
-XX:+CMSIncrementalMode
-XX:+UseParNewGC
-XX:+ExplicitGCInvokesConcurrent
-XX:+CMSClassUnloadingEnabled
-XX:+CMSPermGenSweepingEnabled
-XX:+AggressiveOpts
-Dawt.useSystemAAFontSettings=lcd
-ea
Re: eclipse goes mental with garbage collection [message #555033 is a reply to message #554981] Wed, 25 August 2010 08:39 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
On 25/08/10 10:32 AM, elhanan wrote:
> eclipse 3.5.2 win xp sp2 3GB ram

> -Xms768m
> -Xmx768m

What happens when you try with the default ones: -Xms40m -Xmx512m

--
- Prakash
Platform UI Team, IBM

www.eclipse-tips.com
Re: eclipse goes mental with garbage collection [message #555039 is a reply to message #554713] Wed, 25 August 2010 09:21 Go to previous message
elhanan Maayan is currently offline elhanan MaayanFriend
Messages: 131
Registered: November 2009
Senior Member
last time i tried that one was permSpace stuff (my eclipse install includes full jee,mylyn,dtp,birt,tptp,jboss tools,spring,ajdt as well as some other stuff) total size aroun 1gb, i should also not that i have aspectj builder inplace, for only one aspect (was desgined to generate compile error me from calling classes from one pacakge out of classes of another package).
Previous Topic:Multipage editor HOME/END/INSERT not sent to correct page
Next Topic:Tomcat-6.0.26 initiation fails via Eclipse-jee-galileo-SR2-win32
Goto Forum:
  


Current Time: Sat Apr 20 00:19:16 GMT 2024

Powered by FUDForum. Page generated in 0.03432 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top