Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Startup time inacceptable
Startup time inacceptable [message #538250] Mon, 07 June 2010 06:22 Go to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi Mylyn Gurus,

Recently my IDE startet to let me wait almost indefinitely when starting
up. Usually it was about 6 seconds. But now the
org.eclipse.mylyn.context.ui is busy in the spash screen for additional
*2:20* minutes.

I already exported the mylyn data to a zip file, deleted (moved) the
..metadata/.mylyn folder and tried again. No change, the startup time is
still 2:30 minutes, waiting most of the time inorg.eclipse.mylyn.context.ui.

Any ideas what can cause this and what I can do against it?

Cheers
/Eike

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: Startup time inacceptable [message #538465 is a reply to message #538250] Mon, 07 June 2010 16:45 Go to previous messageGo to next message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
Eike, can you try the latest weekly build? We interned a few changes strings
to reduce memory overhead which could affect some loading that happens on
startup but there was also a bug related to focusing in the Project Explorer
that could trigger expensive refreshes.

It would very helpful if you could take a couple of thread dumps when
starting up and post them here or send them to me directly!

Thanks.

Steffen


Eike Stepper wrote:

> Hi Mylyn Gurus,
>
> Recently my IDE startet to let me wait almost indefinitely when starting
> up. Usually it was about 6 seconds. But now the
> org.eclipse.mylyn.context.ui is busy in the spash screen for additional
> *2:20* minutes.
>
> I already exported the mylyn data to a zip file, deleted (moved) the
> .metadata/.mylyn folder and tried again. No change, the startup time is
> still 2:30 minutes, waiting most of the time
> inorg.eclipse.mylyn.context.ui.
>
> Any ideas what can cause this and what I can do against it?
>
> Cheers
> /Eike
>
> ----
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper

--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
Re: Startup time inacceptable [message #538593 is a reply to message #538465] Tue, 08 June 2010 07:46 Go to previous messageGo to next message
Jörg Thönnes is currently offline Jörg ThönnesFriend
Messages: 229
Registered: July 2009
Senior Member
On 06/07/10 18:45, Steffen Pingel wrote:
> Eike, can you try the latest weekly build? We interned a few changes strings
> to reduce memory overhead which could affect some loading that happens on
> startup but there was also a bug related to focusing in the Project Explorer
> that could trigger expensive refreshes.
>
> It would very helpful if you could take a couple of thread dumps when
> starting up and post them here or send them to me directly!

Here is a small bash script I use to do such thread dumps (on UNIX-like systems only):

----- jstackSeries -----
#!/bin/bash

if [ $# -eq 0 ]; then
echo >&2 "Usage: jstackSeries <pid> [ <count> [ <delay> ] ]"
echo >&2 " Defaults: count = 10, delay = 0.5 (seconds)"
exit 1
fi

pid=$1 # required
count=${2:-10} # defaults to 10 times
delay=${3:-0.5} # defaults to 0.5 seconds

while [ $count -gt 0 ]
do
jstack $pid >jstack.$pid.$(date +%H%M%S.%N)
sleep $delay
let count--
echo -n "."
done
----- EOF -----

Hope that helps.

Would this be something for the wiki, Steffen?

Cheers, Jörg

>
> Thanks.
>
> Steffen
>
>
> Eike Stepper wrote:
>
>> Hi Mylyn Gurus,
>>
>> Recently my IDE startet to let me wait almost indefinitely when starting
>> up. Usually it was about 6 seconds. But now the
>> org.eclipse.mylyn.context.ui is busy in the spash screen for additional
>> *2:20* minutes.
>>
>> I already exported the mylyn data to a zip file, deleted (moved) the
>> .metadata/.mylyn folder and tried again. No change, the startup time is
>> still 2:30 minutes, waiting most of the time
>> inorg.eclipse.mylyn.context.ui.
>>
>> Any ideas what can cause this and what I can do against it?
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>
Re: Startup time inacceptable [message #538822 is a reply to message #538250] Tue, 08 June 2010 17:34 Go to previous messageGo to next message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
With Eike's help we were able to track this problem down. The slow startup
was caused by a preference file that stores editor mementos and had grown
quite large over years of Mylyn usage. I have created an FAQ entry that
describes the symptoms and work-around:

http://wiki.eclipse.org/Mylyn/FAQ#Why_does_startup_of_org.ec lipse.mylyn.context.ui_take_so_long.3F

We are working on a better solution on this bug:

226618: [context] move task-specific editor memento storage out of the plug-
in preference store
https://bugs.eclipse.org/bugs/show_bug.cgi?id=226618

Steffen


Eike Stepper wrote:

> Hi Mylyn Gurus,
>
> Recently my IDE startet to let me wait almost indefinitely when starting
> up. Usually it was about 6 seconds. But now the
> org.eclipse.mylyn.context.ui is busy in the spash screen for additional
> *2:20* minutes.
>
> I already exported the mylyn data to a zip file, deleted (moved) the
> .metadata/.mylyn folder and tried again. No change, the startup time is
> still 2:30 minutes, waiting most of the time
> inorg.eclipse.mylyn.context.ui.
>
> Any ideas what can cause this and what I can do against it?
>
> Cheers
> /Eike
>
> ----
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper

--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
Re: Startup time inacceptable [message #538826 is a reply to message #538593] Tue, 08 June 2010 17:41 Go to previous messageGo to next message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
Good idea. I have created this FAQ entry as a start:

http://wiki.eclipse.org/Mylyn/FAQ#How_can_I_report_a_dead-
lock_or_a_problem_about_a_stalled_UI.3F

Please feel free to amend that and link to your script.

Steffen


Jörg Thönnes wrote:

> On 06/07/10 18:45, Steffen Pingel wrote:
>> Eike, can you try the latest weekly build? We interned a few changes
>> strings to reduce memory overhead which could affect some loading that
>> happens on startup but there was also a bug related to focusing in the
>> Project Explorer that could trigger expensive refreshes.
>>
>> It would very helpful if you could take a couple of thread dumps when
>> starting up and post them here or send them to me directly!
>
> Here is a small bash script I use to do such thread dumps (on UNIX-like
> systems only):
>
> ----- jstackSeries -----
> #!/bin/bash
>
> if [ $# -eq 0 ]; then
> echo >&2 "Usage: jstackSeries <pid> [ <count> [ <delay> ] ]"
> echo >&2 " Defaults: count = 10, delay = 0.5 (seconds)"
> exit 1
> fi
>
> pid=$1 # required
> count=${2:-10} # defaults to 10 times
> delay=${3:-0.5} # defaults to 0.5 seconds
>
> while [ $count -gt 0 ]
> do
> jstack $pid >jstack.$pid.$(date +%H%M%S.%N)
> sleep $delay
> let count--
> echo -n "."
> done
> ----- EOF -----
>
> Hope that helps.
>
> Would this be something for the wiki, Steffen?
>
> Cheers, Jörg
>
>>
>> Thanks.
>>
>> Steffen
>>
>>
>> Eike Stepper wrote:
>>
>>> Hi Mylyn Gurus,
>>>
>>> Recently my IDE startet to let me wait almost indefinitely when starting
>>> up. Usually it was about 6 seconds. But now the
>>> org.eclipse.mylyn.context.ui is busy in the spash screen for additional
>>> *2:20* minutes.
>>>
>>> I already exported the mylyn data to a zip file, deleted (moved) the
>>> .metadata/.mylyn folder and tried again. No change, the startup time is
>>> still 2:30 minutes, waiting most of the time
>>> inorg.eclipse.mylyn.context.ui.
>>>
>>> Any ideas what can cause this and what I can do against it?
>>>
>>> Cheers
>>> /Eike
>>>
>>> ----
>>> http://thegordian.blogspot.com
>>> http://twitter.com/eikestepper
>>

--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
Re: Startup time inacceptable [message #539013 is a reply to message #538826] Wed, 09 June 2010 10:26 Go to previous message
Jörg Thönnes is currently offline Jörg ThönnesFriend
Messages: 229
Registered: July 2009
Senior Member
On 06/08/10 19:41, Steffen Pingel wrote:
> Good idea. I have created this FAQ entry as a start:
>
> http://wiki.eclipse.org/Mylyn/FAQ#How_can_I_report_a_dead-
> lock_or_a_problem_about_a_stalled_UI.3F
>
> Please feel free to amend that and link to your script.

Done. Look here:

http://wiki.eclipse.org/How_to_report_a_deadlock#jstackSerie s_--_jstack_sampling_in_fixed_time_intervals_.28tested_on_Li nux.29

Cheers, Jörg

> Steffen
>
>
> Jörg Thönnes wrote:
>
>> On 06/07/10 18:45, Steffen Pingel wrote:
>>> Eike, can you try the latest weekly build? We interned a few changes
>>> strings to reduce memory overhead which could affect some loading that
>>> happens on startup but there was also a bug related to focusing in the
>>> Project Explorer that could trigger expensive refreshes.
>>>
>>> It would very helpful if you could take a couple of thread dumps when
>>> starting up and post them here or send them to me directly!
>> Here is a small bash script I use to do such thread dumps (on UNIX-like
>> systems only):
>>
>> ----- jstackSeries -----
>> #!/bin/bash
>>
>> if [ $# -eq 0 ]; then
>> echo >&2 "Usage: jstackSeries <pid> [ <count> [ <delay> ] ]"
>> echo >&2 " Defaults: count = 10, delay = 0.5 (seconds)"
>> exit 1
>> fi
>>
>> pid=$1 # required
>> count=${2:-10} # defaults to 10 times
>> delay=${3:-0.5} # defaults to 0.5 seconds
>>
>> while [ $count -gt 0 ]
>> do
>> jstack $pid >jstack.$pid.$(date +%H%M%S.%N)
>> sleep $delay
>> let count--
>> echo -n "."
>> done
>> ----- EOF -----
>>
>> Hope that helps.
>>
>> Would this be something for the wiki, Steffen?
>>
>> Cheers, Jörg
>>
>>> Thanks.
>>>
>>> Steffen
>>>
>>>
>>> Eike Stepper wrote:
>>>
>>>> Hi Mylyn Gurus,
>>>>
>>>> Recently my IDE startet to let me wait almost indefinitely when starting
>>>> up. Usually it was about 6 seconds. But now the
>>>> org.eclipse.mylyn.context.ui is busy in the spash screen for additional
>>>> *2:20* minutes.
>>>>
>>>> I already exported the mylyn data to a zip file, deleted (moved) the
>>>> .metadata/.mylyn folder and tried again. No change, the startup time is
>>>> still 2:30 minutes, waiting most of the time
>>>> inorg.eclipse.mylyn.context.ui.
>>>>
>>>> Any ideas what can cause this and what I can do against it?
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>> ----
>>>> http://thegordian.blogspot.com
>>>> http://twitter.com/eikestepper
>
Re: Startup time inacceptable [message #601459 is a reply to message #538250] Mon, 07 June 2010 16:45 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
Eike, can you try the latest weekly build? We interned a few changes strings
to reduce memory overhead which could affect some loading that happens on
startup but there was also a bug related to focusing in the Project Explorer
that could trigger expensive refreshes.

It would very helpful if you could take a couple of thread dumps when
starting up and post them here or send them to me directly!

Thanks.

Steffen


Eike Stepper wrote:

> Hi Mylyn Gurus,
>
> Recently my IDE startet to let me wait almost indefinitely when starting
> up. Usually it was about 6 seconds. But now the
> org.eclipse.mylyn.context.ui is busy in the spash screen for additional
> *2:20* minutes.
>
> I already exported the mylyn data to a zip file, deleted (moved) the
> .metadata/.mylyn folder and tried again. No change, the startup time is
> still 2:30 minutes, waiting most of the time
> inorg.eclipse.mylyn.context.ui.
>
> Any ideas what can cause this and what I can do against it?
>
> Cheers
> /Eike
>
> ----
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper

--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
Re: Startup time inacceptable [message #601464 is a reply to message #538465] Tue, 08 June 2010 07:46 Go to previous message
Jörg Thönnes is currently offline Jörg ThönnesFriend
Messages: 229
Registered: July 2009
Senior Member
On 06/07/10 18:45, Steffen Pingel wrote:
> Eike, can you try the latest weekly build? We interned a few changes strings
> to reduce memory overhead which could affect some loading that happens on
> startup but there was also a bug related to focusing in the Project Explorer
> that could trigger expensive refreshes.
>
> It would very helpful if you could take a couple of thread dumps when
> starting up and post them here or send them to me directly!

Here is a small bash script I use to do such thread dumps (on UNIX-like systems only):

----- jstackSeries -----
#!/bin/bash

if [ $# -eq 0 ]; then
echo >&2 "Usage: jstackSeries <pid> [ <count> [ <delay> ] ]"
echo >&2 " Defaults: count = 10, delay = 0.5 (seconds)"
exit 1
fi

pid=$1 # required
count=${2:-10} # defaults to 10 times
delay=${3:-0.5} # defaults to 0.5 seconds

while [ $count -gt 0 ]
do
jstack $pid >jstack.$pid.$(date +%H%M%S.%N)
sleep $delay
let count--
echo -n "."
done
----- EOF -----

Hope that helps.

Would this be something for the wiki, Steffen?

Cheers, Jörg

>
> Thanks.
>
> Steffen
>
>
> Eike Stepper wrote:
>
>> Hi Mylyn Gurus,
>>
>> Recently my IDE startet to let me wait almost indefinitely when starting
>> up. Usually it was about 6 seconds. But now the
>> org.eclipse.mylyn.context.ui is busy in the spash screen for additional
>> *2:20* minutes.
>>
>> I already exported the mylyn data to a zip file, deleted (moved) the
>> .metadata/.mylyn folder and tried again. No change, the startup time is
>> still 2:30 minutes, waiting most of the time
>> inorg.eclipse.mylyn.context.ui.
>>
>> Any ideas what can cause this and what I can do against it?
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>
Re: Startup time inacceptable [message #601468 is a reply to message #538250] Tue, 08 June 2010 17:34 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
With Eike's help we were able to track this problem down. The slow startup
was caused by a preference file that stores editor mementos and had grown
quite large over years of Mylyn usage. I have created an FAQ entry that
describes the symptoms and work-around:

http://wiki.eclipse.org/Mylyn/FAQ#Why_does_startup_of_org.ec lipse.mylyn.context.ui_take_so_long.3F

We are working on a better solution on this bug:

226618: [context] move task-specific editor memento storage out of the plug-
in preference store
https://bugs.eclipse.org/bugs/show_bug.cgi?id=226618

Steffen


Eike Stepper wrote:

> Hi Mylyn Gurus,
>
> Recently my IDE startet to let me wait almost indefinitely when starting
> up. Usually it was about 6 seconds. But now the
> org.eclipse.mylyn.context.ui is busy in the spash screen for additional
> *2:20* minutes.
>
> I already exported the mylyn data to a zip file, deleted (moved) the
> .metadata/.mylyn folder and tried again. No change, the startup time is
> still 2:30 minutes, waiting most of the time
> inorg.eclipse.mylyn.context.ui.
>
> Any ideas what can cause this and what I can do against it?
>
> Cheers
> /Eike
>
> ----
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper

--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
Re: Startup time inacceptable [message #601471 is a reply to message #538593] Tue, 08 June 2010 17:41 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
Good idea. I have created this FAQ entry as a start:

http://wiki.eclipse.org/Mylyn/FAQ#How_can_I_report_a_dead-
lock_or_a_problem_about_a_stalled_UI.3F

Please feel free to amend that and link to your script.

Steffen


Jörg Thönnes wrote:

> On 06/07/10 18:45, Steffen Pingel wrote:
>> Eike, can you try the latest weekly build? We interned a few changes
>> strings to reduce memory overhead which could affect some loading that
>> happens on startup but there was also a bug related to focusing in the
>> Project Explorer that could trigger expensive refreshes.
>>
>> It would very helpful if you could take a couple of thread dumps when
>> starting up and post them here or send them to me directly!
>
> Here is a small bash script I use to do such thread dumps (on UNIX-like
> systems only):
>
> ----- jstackSeries -----
> #!/bin/bash
>
> if [ $# -eq 0 ]; then
> echo >&2 "Usage: jstackSeries <pid> [ <count> [ <delay> ] ]"
> echo >&2 " Defaults: count = 10, delay = 0.5 (seconds)"
> exit 1
> fi
>
> pid=$1 # required
> count=${2:-10} # defaults to 10 times
> delay=${3:-0.5} # defaults to 0.5 seconds
>
> while [ $count -gt 0 ]
> do
> jstack $pid >jstack.$pid.$(date +%H%M%S.%N)
> sleep $delay
> let count--
> echo -n "."
> done
> ----- EOF -----
>
> Hope that helps.
>
> Would this be something for the wiki, Steffen?
>
> Cheers, Jörg
>
>>
>> Thanks.
>>
>> Steffen
>>
>>
>> Eike Stepper wrote:
>>
>>> Hi Mylyn Gurus,
>>>
>>> Recently my IDE startet to let me wait almost indefinitely when starting
>>> up. Usually it was about 6 seconds. But now the
>>> org.eclipse.mylyn.context.ui is busy in the spash screen for additional
>>> *2:20* minutes.
>>>
>>> I already exported the mylyn data to a zip file, deleted (moved) the
>>> .metadata/.mylyn folder and tried again. No change, the startup time is
>>> still 2:30 minutes, waiting most of the time
>>> inorg.eclipse.mylyn.context.ui.
>>>
>>> Any ideas what can cause this and what I can do against it?
>>>
>>> Cheers
>>> /Eike
>>>
>>> ----
>>> http://thegordian.blogspot.com
>>> http://twitter.com/eikestepper
>>

--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
Re: Startup time inacceptable [message #601474 is a reply to message #538826] Wed, 09 June 2010 10:26 Go to previous message
Jörg Thönnes is currently offline Jörg ThönnesFriend
Messages: 229
Registered: July 2009
Senior Member
On 06/08/10 19:41, Steffen Pingel wrote:
> Good idea. I have created this FAQ entry as a start:
>
> http://wiki.eclipse.org/Mylyn/FAQ#How_can_I_report_a_dead-
> lock_or_a_problem_about_a_stalled_UI.3F
>
> Please feel free to amend that and link to your script.

Done. Look here:

http://wiki.eclipse.org/How_to_report_a_deadlock#jstackSerie s_--_jstack_sampling_in_fixed_time_intervals_.28tested_on_Li nux.29

Cheers, Jörg

> Steffen
>
>
> Jörg Thönnes wrote:
>
>> On 06/07/10 18:45, Steffen Pingel wrote:
>>> Eike, can you try the latest weekly build? We interned a few changes
>>> strings to reduce memory overhead which could affect some loading that
>>> happens on startup but there was also a bug related to focusing in the
>>> Project Explorer that could trigger expensive refreshes.
>>>
>>> It would very helpful if you could take a couple of thread dumps when
>>> starting up and post them here or send them to me directly!
>> Here is a small bash script I use to do such thread dumps (on UNIX-like
>> systems only):
>>
>> ----- jstackSeries -----
>> #!/bin/bash
>>
>> if [ $# -eq 0 ]; then
>> echo >&2 "Usage: jstackSeries <pid> [ <count> [ <delay> ] ]"
>> echo >&2 " Defaults: count = 10, delay = 0.5 (seconds)"
>> exit 1
>> fi
>>
>> pid=$1 # required
>> count=${2:-10} # defaults to 10 times
>> delay=${3:-0.5} # defaults to 0.5 seconds
>>
>> while [ $count -gt 0 ]
>> do
>> jstack $pid >jstack.$pid.$(date +%H%M%S.%N)
>> sleep $delay
>> let count--
>> echo -n "."
>> done
>> ----- EOF -----
>>
>> Hope that helps.
>>
>> Would this be something for the wiki, Steffen?
>>
>> Cheers, Jörg
>>
>>> Thanks.
>>>
>>> Steffen
>>>
>>>
>>> Eike Stepper wrote:
>>>
>>>> Hi Mylyn Gurus,
>>>>
>>>> Recently my IDE startet to let me wait almost indefinitely when starting
>>>> up. Usually it was about 6 seconds. But now the
>>>> org.eclipse.mylyn.context.ui is busy in the spash screen for additional
>>>> *2:20* minutes.
>>>>
>>>> I already exported the mylyn data to a zip file, deleted (moved) the
>>>> .metadata/.mylyn folder and tried again. No change, the startup time is
>>>> still 2:30 minutes, waiting most of the time
>>>> inorg.eclipse.mylyn.context.ui.
>>>>
>>>> Any ideas what can cause this and what I can do against it?
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>> ----
>>>> http://thegordian.blogspot.com
>>>> http://twitter.com/eikestepper
>
Previous Topic:Mylyn 3.4 RC available
Next Topic:Plugin for "Check update" menu item
Goto Forum:
  


Current Time: Tue Apr 23 17:16:03 GMT 2024

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

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

Back to the top