Bug 320853 - javaw.exe uses up cpu
Summary: javaw.exe uses up cpu
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: 3.7 M1   Edit
Assignee: Ayushman Jain CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-25 14:57 EDT by wille_25 CLA
Modified: 2010-07-26 08:57 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wille_25 CLA 2010-07-25 14:57:51 EDT
Build Identifier: 20100617-1415

When I start eclipse(Helios) I see in taskmgr.exe that javaw.exe is instantly using 90%-100% CPU. When it's been running for half a minute it already occupies about 300MB of memory. On top of that I can barely move the cursor in the eclipse window without it stopping to respond. I once got it to try to compile a project before becomming totally unresponsive, but it never finished it. I have updated JRE but still have the same problem. I currently use java version "1.6.0_21-ea". Also I'm using the 64bit version of Win7 and 64-bit version of JRE & Eclipse. I have also an older version of eclipse IDE installed(Galileo) for c/c++ which works perfectly (Of course they aren't running simultaneusly). 

Reproducible: Always

Steps to Reproduce:
1. Start eclipse?
2.
3.
Comment 1 Remy Suen CLA 2010-07-25 15:32:31 EDT
(In reply to comment #0)
> I currently use java
> version "1.6.0_21-ea".

Did you try using 6u20?
Comment 2 Ayushman Jain CLA 2010-07-26 03:00:55 EDT
(In reply to comment #0)
Can you please specify what is the size of your workspace, and what all plugins you're using on top of the Eclipse installation. (If you do have some external plugins, may be you can just try to load Eclipse without them and see if you still have similar problems).
Also you say you have Galileo with CDT for C/C++. Are you trying to use Helios too with CDT?
Comment 3 Ayushman Jain CLA 2010-07-26 05:01:02 EDT
Possible duplicate of bug 319514?
Comment 4 wille_25 CLA 2010-07-26 08:09:20 EDT
I found that eclipse wasn't using my current install of java, it was using an installation I didn't know about located in Windows\System32 directory. I removed javaw.exe from that directory and now everything works fine, only wierd thing is that eclipse doesn't seem to launch javaw.exe anymore. Everything seems to be handled by eclipse.exe. Anyways, problem solved.
Comment 5 Olivier Thomann CLA 2010-07-26 08:57:13 EDT
Closing as NOT_ECLIPSE. FIXED means the code base has been changed to fix the issue which is clearly not the case here.