Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse is always locked [High CPU & RAM usage]
icon4.gif  Eclipse is always locked [High CPU & RAM usage] [message #520021] Wed, 10 March 2010 15:32 Go to next message
Eclipse UserFriend
Hello everyone,

I'm using Eclipse Galileo SR2 (the latest distrubition of Eclipse), it is always locked.. After a little time from startup it starts to use too much CPU and RAM.
And not a long time, it hardly replies to user interactions.

I really need your helps. As I know from my friends, I'm not the only one who has this problem. Are there anyone who knows the solution to solve this problem/bug.

Thanx in advance,
T

[Updated on: Thu, 11 March 2010 04:44] by Moderator

Re: Eclipse is always locked [High CPU & RAM usage] [message #520112 is a reply to message #520021] Thu, 11 March 2010 03:39 Go to previous messageGo to next message
Eclipse UserFriend
Il 10/03/2010 21.32, talhakabakus@gmail.com ha scritto:
> Hello everyone,
>
> I'm using Eclipse Galileo RC2 (the latest distrubition of Eclipse), it
> is always locked.. After a little time from startup it starts to use too
> much CPU and RAM.
> And not a long time, it hardly replies to user interactions.
> I really need your helps. As I know from my friends, I'm not the only
> one who has this problem. Are there anyone who knows the solution to
> solve this problem/bug.

There are too many unknown parameters for a diagnosis...
For instance:
- which plugins you have installed
- which hardware you're using
- which JVM you are using to run Eclipse
- how much is your RAM
- how big is your max heap size
- how big is your max permgen size
- what you are doing and which plugins you are using when Eclipse starts
to "freeze"
- is Eclipse reading from the hard disk while you see it freezing?
- once frozen, does Eclipse awake after a while or does it crash?

You may also try to do some thread dumps while Eclipse is frozen to see
if you can identify what can be causing the high CPU usage.

Mauro.
Re: Eclipse is always locked [High CPU & RAM usage] [message #520140 is a reply to message #520112] Thu, 11 March 2010 04:52 Go to previous messageGo to next message
Eclipse UserFriend
thanx Mauro for your interest & help..

well, truly I searched a lot in the web, everybody says that "change eclipse.ini parameters". I did their recommendations too.. But same result, although some of their recommendations made Eclipse unstartable. So I thought that here's the official forum of Eclipse, so I may find the solution from here.. This is the reason that I wrote this problem/bug directly here..

With regards,
T
Re: Eclipse is always locked [High CPU & RAM usage] [message #520531 is a reply to message #520140] Fri, 12 March 2010 12:57 Go to previous messageGo to next message
Eclipse UserFriend
talhakabakus@gmail.com wrote:
> thanx Mauro for your interest & help..
>
> well, truly I searched a lot in the web, everybody says that "change
> eclipse.ini parameters". I did their recommendations too.. But same
> result, although some of their recommendations made Eclipse unstartable.
> So I thought that here's the official forum of Eclipse, so I may find
> the solution from here.. This is the reason that I wrote this
> problem/bug directly here..
> With regards,
> T

You might want to post to eclipse.platform instead; nothing that you mentioned
suggests this has anything to do with JDT in particular.

But either way, you will need to answer the questions that Mauro asked, before
anyone can help you.
Re: Eclipse is always locked [High CPU & RAM usage] [message #520680 is a reply to message #520531] Sun, 14 March 2010 05:02 Go to previous messageGo to next message
Eclipse UserFriend
Hello Mauro and Walter Harley,

Here's my eclipse.ini file that includes Eclipse configurations :
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520
-product
org.eclipse.epp.package.jee.product
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=128m
-Xms256m
-Xmx1024m


My laptop has 3 GB RAM, and AMD Turion 64 x2 2.00 GHz CPU. The only plugin that I installed is Hibernate.. I'm a web developer, so I use Tomcat while developing.. That's all what I used Eclipse till now..

Thanx again..
Talha
Re: Eclipse is always locked [High CPU & RAM usage] [message #521975 is a reply to message #520680] Fri, 19 March 2010 09:26 Go to previous message
Eclipse UserFriend
Il 14/03/2010 10.02, Talha Kabakus ha scritto:
> -XX:MaxPermSize=128m

First of all, remove this line, as you already have the following:
--launcher.XXMaxPermSize
256m

> My laptop has 3 GB RAM, and AMD Turion 64 x2 2.00 GHz CPU. The only
> plugin that I installed is Hibernate.. I'm a web developer, so I use
> Tomcat while developing.. That's all what I used Eclipse till now..
> Thanx again..

I don't know if there's an Eclipse plugin for Hibernate, however if you
say you're using Tomcat I think you're also using Webtools. Which
Eclipse version did you download and install?

Secondly, which JRE are you using to run Eclipse?

What are you doing when Eclipse starts to freeze? Building the
workspace? Something else?

Is your project big or small?

Is Eclipse reading from the hard disk while you see it freezing?

Once frozen, does Eclipse awake after a while or does it crash?

Is there any "OutOfMemoryException" error in you
<workspace>/.metadata/.log file?
If so, what is the full error message of that OutOfMemoryException?

Mauro.
Previous Topic:Proper use of Strings to create SearchPatterns
Next Topic:How do I "restart the server?"
Goto Forum:
  


Current Time: Mon Mar 24 16:47:31 EDT 2025

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

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

Back to the top