Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is the Eclipse IDE getting slower?

Tags:

java

eclipse

ide

I have downloaded the latest Eclipse IDE, Galileo, and tested it to see if it good for developing web applications in Java. I have also tried the Ganymede version of Eclipse and find that is it also good.

My Problem is that sometimes it hangs and stops responding while I am developing. Sometimes when I open a file, Eclipse hangs and does not respond for awhile. It seems that Eclipse is going slower and my job is getting slower because of the time that I am spending waiting for the response of Eclipse.

When I went to NetBeans 6.7, it was good and the performance was good. The loading is faster and the IDE responds well during my development testing.

My computer has 1 GB of RAM and a 1.6 GHz CPU.

What can you say about this?

like image 239
Roy Marco Aruta Avatar asked Aug 01 '09 15:08

Roy Marco Aruta


People also ask

Why is my Eclipse running so slow?

If there are too much data in the eclipse local history folder then it can make the eclipse project run slower and slower. You can find the eclipse local history data at your eclipse workspace folder . metadata/. plugins/org.

Is Eclipse still a good IDE?

Eclipse has been used very extensively all across our development teams for building variety of software products. I consider it to be one of the most reliable & versatile IDE in the market as it has almost every features which a developer would look for.

Is 4GB RAM enough for Eclipse?

4GB is sufficient for most tasks when developing in Eclipse and targeting tomcat, but in general the more RAM the merrier. Show activity on this post.


2 Answers

I'm using Eclipse PDT 2.1 (also based on Galileo) for PHP development, and I've been using Eclipse-based IDE for 3 years now ; my observation is that 1 GB of RAM is generally not enough to run Eclipse + some kind of web server + DB server + browser + other stuff :-(


I'm currently working with a 1GB of RAM machine, and it's slow as hell... Few months ago, I had a 2GB of RAM machine, and things were going really fine -- and I'm having less software running on the "new machine" than I had on the other one !


Other things that seem to affect Eclipse's responsivness is :

  • opening a project that's on a network drive (accessing the sources that are on a development server via samba, for instance)
  • sometimes, using an SVN-plugin like SUbversive seems to freeze Eclipse for a couple of seconds/minutes

A nice to do with languages like PHP (might not be OK for JAVA projects, though) is to disable "automatically build" in "project"'s menu.


As a sidenote : I've already seen questions about eclipse's speed on SO ; you might want to try so searches, to get answers faster ;-)

like image 64
Pascal MARTIN Avatar answered Sep 28 '22 09:09

Pascal MARTIN


This is a common concern and others have posted similar questions. There are optimizations that you can perform on your Eclipse environment. Take a look at the solutions posted here.

like image 36
akf Avatar answered Sep 28 '22 09:09

akf