Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » 100% CPU usage in RC3
100% CPU usage in RC3 [message #194595] Mon, 18 June 2007 06:28 Go to next message
Eclipse User
Originally posted by: marx.nospam_wasko.pl

Hello
I've just installes WTP RC3 and as usual I opened may workspace, but
Eclipse/WTP suddenly takes 100% CPU and do something. I've never had
such a problem before.
I killed it and started again but the same is happening.
In error log there is only:
(...)
!ENTRY org.eclipse.jst.jsp.core 4 4 2007-06-18 08:17:01.399
!MESSAGE A workspace crash was detected. The previous session did not
exit normally. Not using saved taglib indexes


!ENTRY org.eclipse.jface 2 0 2007-06-18 08:17:15.057
!MESSAGE Keybinding conflicts occurred. They may interfere with normal
accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2007-06-18 08:17:15.057
!MESSAGE A conflict occurred for CTRL+3:
Binding(CTRL+3,
(...)

and something about taglib library cache rebuilding (but I have very
small amount of taglibs)
Marx
Re: 100% CPU usage in RC3 [message #194668 is a reply to message #194595] Mon, 18 June 2007 21:51 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2266
Registered: July 2009
Senior Member
Marx wrote:
> Hello
> I've just installes WTP RC3 and as usual I opened may workspace, but
> Eclipse/WTP suddenly takes 100% CPU and do something. I've never had
> such a problem before.
> I killed it and started again but the same is happening.
> In error log there is only:
> (...)
> !ENTRY org.eclipse.jst.jsp.core 4 4 2007-06-18 08:17:01.399
> !MESSAGE A workspace crash was detected. The previous session did not
> exit normally. Not using saved taglib indexes
>
>
> !ENTRY org.eclipse.jface 2 0 2007-06-18 08:17:15.057
> !MESSAGE Keybinding conflicts occurred. They may interfere with normal
> accelerator operation.
> !SUBENTRY 1 org.eclipse.jface 2 0 2007-06-18 08:17:15.057
> !MESSAGE A conflict occurred for CTRL+3:
> Binding(CTRL+3,
> (...)
>
> and something about taglib library cache rebuilding (but I have very
> small amount of taglibs)
> Marx

The taglib indexes contain information about what tag libraries are
available on a project, information that can't reliably be counted
on if it's not updated on shutdown. It should only consume CPU if
you have a JSP editor open referring to a tag library or are running
JSP validation when the workbench opens. Alternately, you could be
seeing the effect of spell checking being enabled by default--there
are some performance issues with that that we're investigating. The
most important question is whether this is blocking you from doing
anything in the workbench. Is it? Does the CPU usage drop to
normal after some time?

--
Nitin Dahyabhai
Structured Source Editor


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: 100% CPU usage in RC3 [message #194749 is a reply to message #194668] Thu, 21 June 2007 12:45 Go to previous messageGo to next message
Eclipse User
Originally posted by: marx.nospam_wasko.pl

Nitin Dahyabhai pisze:
> The taglib indexes contain information about what tag libraries are
> available on a project, information that can't reliably be counted on if
> it's not updated on shutdown. It should only consume CPU if you have a
> JSP editor open referring to a tag library or are running JSP validation
> when the workbench opens. Alternately, you could be seeing the effect
> of spell checking being enabled by default--there are some performance
> issues with that that we're investigating. The most important question
> is whether this is blocking you from doing anything in the workbench.
> Is it? Does the CPU usage drop to normal after some time?
no it doesn't (it really should do taglib indexing quickly because I
have only a few taglibs). I downgraded to RC2 but effect is the same. So
I had to return to M5 and it rebuilded cache without problems and works ok.
It seems to be sth. with spell checking because after opening it seems
to be ok, and suddenly many lines are underlined in yellow. I will try
to switch off spell checking
Marx
Re: 100% CPU usage in RC3 [message #194805 is a reply to message #194749] Thu, 21 June 2007 22:01 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2266
Registered: July 2009
Senior Member
Marx wrote:
> no it doesn't (it really should do taglib indexing quickly because I
> have only a few taglibs). I downgraded to RC2 but effect is the same. So
> I had to return to M5 and it rebuilded cache without problems and works ok.
> It seems to be sth. with spell checking because after opening it seems
> to be ok, and suddenly many lines are underlined in yellow. I will try
> to switch off spell checking

It's probably bug 192530, which very much has to do with spell
checking, and which you'll find fixed in RC4 (and current pre-RC4
builds).

https://bugs.eclipse.org/bugs/show_bug.cgi?id=192530

--
Nitin Dahyabhai
Structured Source Editor


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: 100% CPU usage in RC3 [message #194984 is a reply to message #194805] Tue, 26 June 2007 11:48 Go to previous messageGo to next message
Eclipse User
Originally posted by: marx.nospam_wasko.pl

Nitin Dahyabhai pisze:
> Marx wrote:
>> no it doesn't (it really should do taglib indexing quickly because I
>> have only a few taglibs). I downgraded to RC2 but effect is the same.
>> So I had to return to M5 and it rebuilded cache without problems and
>> works ok.
>> It seems to be sth. with spell checking because after opening it seems
>> to be ok, and suddenly many lines are underlined in yellow. I will try
>> to switch off spell checking
>
> It's probably bug 192530, which very much has to do with spell checking,
> and which you'll find fixed in RC4 (and current pre-RC4 builds).
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=192530


yest, it was this bug!
now it works ok on RC4, thank you
Marx

Ps. do you know where to switch off language validation in javadoc? it
seems Eclipse have english as default and polish comments are red underlined
Re: 100% CPU usage in RC3 [message #195044 is a reply to message #194984] Wed, 27 June 2007 03:21 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2266
Registered: July 2009
Senior Member
Marx wrote:
> Ps. do you know where to switch off language validation in javadoc? it
> seems Eclipse have english as default and polish comments are red
> underlined

Other than switching the dictionary to Polish (I suspect one is not
provided, yet), no I don't.

--
Nitin Dahyabhai
Structured Source Editor


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: 100% CPU usage in RC3 [message #195051 is a reply to message #195044] Wed, 27 June 2007 07:53 Go to previous messageGo to next message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
Nitin Dahyabhai wrote:

> Marx wrote:
>
>> Ps. do you know where to switch off language validation in javadoc?
>> it seems Eclipse have english as default and polish comments are red
>> underlined
>
>
> Other than switching the dictionary to Polish (I suspect one is not
> provided, yet), no I don't.

Instead of waiting for Polish translation which might (or might not)
come with a Polish platform dictionary you can choose 'none' and compile
your own Polish word list (check the Web for templates) and use this as
user defined dictionary.

Dani

>
> --
> Nitin Dahyabhai
> Structured Source Editor
Re: 100% CPU usage in RC3 [message #195059 is a reply to message #195051] Wed, 27 June 2007 08:04 Go to previous messageGo to next message
Eclipse User
Originally posted by: marx.nospam_wasko.pl

Daniel Megert pisze:
> Nitin Dahyabhai wrote:
>
>> Marx wrote:
>>
>>> Ps. do you know where to switch off language validation in javadoc?
>>> it seems Eclipse have english as default and polish comments are red
>>> underlined
>>
>>
>> Other than switching the dictionary to Polish (I suspect one is not
>> provided, yet), no I don't.
>
> Instead of waiting for Polish translation which might (or might not)
> come with a Polish platform dictionary you can choose 'none' and compile
> your own Polish word list (check the Web for templates) and use this as
> user defined dictionary.


"dictionary" was a thing to look for in options
I switched off "spell checking" and it almost work. Almost, because .js
file is still everywhere yellow underlined. Hovewer it works in .jsp and
..java files so it's enough
Thank you!
Marx
Re: 100% CPU usage in RC3 [message #195066 is a reply to message #195059] Wed, 27 June 2007 08:05 Go to previous message
Eclipse User
Originally posted by: marx.nospam_wasko.pl

Marx pisze:
> I switched off "spell checking" and it almost work. Almost, because .js
> file is still everywhere yellow underlined. Hovewer it works in .jsp and

ok I reopened .js file and it works ok - doesn't underlines
Marx
Previous Topic:Warnings in plugin.xml for facets? What is the preset replacement since it is deprecated
Next Topic:multi projects dependencies: WebApp and an Applet
Goto Forum:
  


Current Time: Wed Sep 17 19:56:36 GMT 2014

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

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