Very frequent freezes with 100% cpu usage. [message #548292] |
Wed, 21 July 2010 07:45  |
Eclipse User |
|
|
|
Hey guys;
Trying to move to PDT. However I'm having hard time with it since the first installation, a few days ago. I have a clean XP installation just for PDT.
In the beginning I could barely run it for a minute till it crashed with a 'permgen space' error. Found we need to add '-xx:MaxPermSize=256m' to the ini, and this fixed those permgen errors. This should be written as a warning to the download page until it's fixed, as it's impossible to run it without this modification.
Now permgen errors are gone, it runs for more minutes, 5 or 10, then it suddenly stops responding and uses 100% cpu. Last time I had just opened it, and I was taking a look at 'preferences', and it stopped responding when I clicked on 'remote systems'. Clicking on it just didn't have an effect, so I don't know whether it freezed by the click, or before clicking. This happens very frequently and it barely runs for 5-10 minutes.
I don't know how this happens, it's perhaps the most clean and up-to-date XP system without involving beta releases, and it's a very common configuration, really strange. I guess there are people who can currently use it on XP without this problem. Thought it could be the java runtime; perhaps it's a new version and people use older versions, but I didn't try an older version as I was unsure how older should I go.
XP pro x86 sp3, up-to-date, no firewall
current sun java runtime 1.6.0_21
current PDT (Eclipse IDE for PHP Developers 1.3.0.20100617-0520)
core2-duo 3ghz, 1.5g ram (also tested with 2.5g)
Any help will be appreciated, thank you!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Very frequent freezes with 100% cpu usage. [message #693093 is a reply to message #555214] |
Tue, 05 July 2011 15:09   |
Eclipse User |
|
|
|
sNop wrote on Wed, 25 August 2010 16:53
--launcher.XXMaxPermSize
768M
I'm using Eclipse 4.1 32-bit on Windows 7 64-bit, with PDT 3.0.0.v20110516, and I see very high CPU usage when simply switching tabs among 3 PHP files. My --launcher.XXMaxPermSize is 512m. Disabling semantic highlight didn't help.
I've enabled the heap memory widget in the status bar. While not doing anything with Eclipse, the heap size keeps jumps all the time from 41M of 121M, to 71M, and back, all within less than 5 seconds. Is this normal?
Also, how does one disable PDT's JavaScript support, when PDT is already installed?
UPDATE: I've deleted my PDT project and created a new one with the Javascript checkbox off. I still see very high CPU usage even when I just type code in a PHP file.
[Updated on: Thu, 07 July 2011 06:10] by Moderator
|
|
|
Re: Very frequent freezes with 100% cpu usage. [message #695245 is a reply to message #693093] |
Mon, 11 July 2011 07:15   |
Eclipse User |
|
|
|
On 2011-07-05 21:09, Dan Dascalescu wrote:
>> --launcher.XXMaxPermSize
>> 768M
> I'm using Eclipse 4.1 32-bit on Windows 7 64-bit, with PDT 3.0.0.v20110516, and
> I see very high CPU usage when simply switching tabs among 3 PHP files. My
> --launcher.XXMaxPermSize is 512m. Disabling semantic highlight didn't help.
Go to progress view and check in options to see background tasks, probably
Eclipse is working on something in background (building project?).
> I've enabled the heap memory widget in the status bar. While not doing anything
> with Eclipse, the heap size keeps jumps all the time from 41M of 121M, to 71M,
> and back, all within less than 5 seconds. Is this normal?
Yes,
Double check all memory settings, maybe You should increase other values?
Memory is cheap today, I assigned 2GB for eclipse and that helped a lot with
many tasks.
> Also, how does one disable PDT's JavaScript support, when PDT is already installed?
In project settings there is a checkbox "enable javascript support for this
project" - will this help You?
/dmc
|
|
|
Re: Very frequent freezes with 100% cpu usage. [message #695867 is a reply to message #548292] |
Tue, 12 July 2011 13:17   |
Eclipse User |
|
|
|
This post seems to be contemporary and still valid, because one year later, I still have to cope with this problem.
This post seems to be contemporary and still valid, because one year later, I still have to cope with this problem.
Quote:I'm having exactly the same problem, but on Ubuntu Lucid x64, both with OpenJDK and Sun's Java. Eclipse Helios is thus absolutely useless. After some weeks of discovering various bugs I wonder if anybody's ever even tested this or if it was just packed and offered as a download.
Same configuration, same problem.
Workstation I7
Ubuntu Lucid 64 bit
OpenJdk or Java selectable.
4GB of RAM
No matter how big is the file opened.
I think with some test I could find the exact operation to do to create the 100% CPU (core) freeze. At the moment it seems related to PHP validator because it seems to happen when I'm writing and stop for a moment with a line left uncompleted... something like
$a="blah blah blah' .
"blah blah
Whatever the case, the problem ends up with Java process 100% CPU load (in the case below 199% )
Attachment: javaloop.jpg
(Size: 57.11KB, Downloaded 9868 times)
[Updated on: Tue, 12 July 2011 13:18] by Moderator
|
|
|
|
|
|
|
|
|
|
|
|