Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Strange behaviour of Mylyn ActivityTimerThread
Strange behaviour of Mylyn ActivityTimerThread [message #587983] Fri, 22 February 2008 09:18
Mauro Molinari is currently offline Mauro MolinariFriend
Messages: 285
Registered: July 2009
Senior Member
Hello all!
This morning I noticed a strange behaviour caused by a Mylyn thread.
Yesterday I left my PC on, with Eclipse open and an active task. This
morning I returned, I did some very little work, then left Eclipse there
All editors where closed: actually, I can't remember if they where open
last evening (and closed by Mylyn because of my inactivity) or if there
were not any open editor at all (Eclipse was reopened after a crash,
before leaving it there all night long).

Well, the strange behaviour is this: even if Eclipse wasn't doing
ANYTHING (the progress view was empty and I was doing other activities
with other programs), the heap was going up and down continuously, as
reported by Eclipse heap monitor. Moreover, Eclipse consumed a good
amount of CPU (with peaks of 80% or so...).
So I decided to open jconsole and monitor Eclipse...
What I saw is that the "Memory Pool PS Old Gen" was continuously going
up and down (from about 150 MB to almost 500 MB) with a period of about
2 minutes...
I checked all the threads and this one made me suspicious:

Name: Thread-6
Total blocked: 0 Total waited: 11.054

Stack trace:
java.lang.Thread.sleep(Native Method)

The "Total waited" value seemed quite high to me, comparable with that
of the finalizer thread...

So I did this trial: I switched off the currently active task and...
MAGIC... Eclipse stopped to consume CPU, the heap activity stopped to
change so much and the "Memory Pool PS Old Gen" graph became flat at once...

Do you have any suspicion of what was going on? As I said, I wasn't
doing anything in Eclipse, its window was in the background while I was
being browsing the web for about an hour or so from the last time I made
a simple operation in Eclipse (a CVS operation).

Previous Topic:Choice between updateTaskFromRepository() or updateTaskFromTaskData()
Next Topic:NullPointerException when validating JIRA Task Repository URL
Goto Forum:

Current Time: Fri Apr 27 01:12:13 GMT 2018

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

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