Very frequent freezes with 100% cpu usage. [message #548292] |
Wed, 21 July 2010 11:45 |
Onur Safak Messages: 4 Registered: July 2010 |
Junior Member |
|
|
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 #555483 is a reply to message #548292] |
Thu, 26 August 2010 18:01 |
|
I am on Mac OS X 10.6.4, trying to use Helios + PDT 2.2 but my memory heap is filling up within seconds of opening a Drupal (PHP) project. I already increased my eclipse.ini memory settings a few times and no matter how large the pool is its always getting full. Eclipse then tells me that the Workspace needs to exit. When I restart and open a single file my heap goes up 1MB with every click in the document, literally with every single click. Then DLTK spins up and its bye-bye RAM.
Every version of Eclipse/PDT I have used has never been this bad and I'm very disappointed. I literally cannot work in Helios, and I even tried re-installing fresh copies of Eclipse, with and without plug-ins with the same results.
Honestly, I do not want to move to another editor and am shocked to find so many posts of people's Helios crapping out on them. One suspect I read was the DLTK, which is always indexing for me and filling up my RAM.
|
|
|
Re: Very frequent freezes with 100% cpu usage. [message #558299 is a reply to message #555483] |
Fri, 10 September 2010 21:18 |
|
After removing the JavaScript support of my PHP projects my Eclipse 3.6 + PDT 2.2 is now behaving and not eating up all my RAM.
UPDATE: It appears my Eclipse 3.6/PDT2.2 is only now sometimes filling up all the memory allocated to it. It still gets a loaded memory heap in large Drupal projects.
Mac OS X 10.6.4 - i5 CPU - 8GB DDR3 RAM - Eclipse 3.6 + PDT 2.2
[Updated on: Sat, 11 September 2010 17:57] Report message to a moderator
|
|
|
|
|
|
Re: Very frequent freezes with 100% cpu usage. [message #693093 is a reply to message #555214] |
Tue, 05 July 2011 19:09 |
Dan Dascalescu Messages: 2 Registered: July 2009 Location: Silicon Valley |
Junior Member |
|
|
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 10:10] Report message to a moderator
|
|
|
Re: Very frequent freezes with 100% cpu usage. [message #695245 is a reply to message #693093] |
Mon, 11 July 2011 11:15 |
dominik Messages: 122 Registered: July 2009 |
Senior Member |
|
|
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 17:17 |
|
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 9635 times)
[Updated on: Tue, 12 July 2011 17:18] Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: Very frequent freezes with 100% cpu usage. [message #752744 is a reply to message #752637] |
Wed, 26 October 2011 13:59 |
|
At the moment, I've never had that specific problem. I don't know why. Maybe some auto-update of Ubuntu... maybe OpenJdk?
I'm still using Eclipse Helios and Ubuntu Lucid x64 with OpenJDK.
However there is another problem: when I open VirtualBox (just to run IE or FF from Windows to test a page on the Host), sometime, even with a lot of free RAM, Ecplise crash while I'm editing. Even closing and reopening doesn't work. I use
pkill java
to have eclipse working again.
It happens even with a project with only 1 file and 10 rows.
It didn't happen before. So I "solved" a problem but I have a new one and... anyway it's a good barter!
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.75479 seconds