7

I installed Eclipse Galileo and after trouble with the JDK, its starting well. But I have big problems with performance. Every third second, Eclipse is hanging for a while. It runs not smoothly. I need a efficient IDE as Eclipse for work. So, it would be very nice when you have a fast answer :)

Both Eclipse as the JDK are 64-bit versions.

Have you any ideas?

Update:

I can´t really explain the problem from scratch. But in my case, it was a trouble between Eclipse´s and the auto-complete-function of my OSK. If I disabled auto-complete, there was no hangs anymore. I don't know why the using of the OSK blocks the thread (?) of the whole editor.

Maybe anyone of you, has an idea why?

ROMANIA_engineer
  • 54,432
  • 29
  • 203
  • 199
fnst
  • 5,574
  • 4
  • 23
  • 18
  • 2
    Do you have any plug-ins installed? I've been running 64-bit Eclipse with 64-bit Java on Win7 since the beta without any performance issues. It might be related to your environment. – Ben S Sep 11 '09 at 17:24
  • I have the same problem as well. Especially when using the Android SDK. It is very painful then. I had to disable plugins just to stop it from freezing up in the code editor window. – John Sonmez Dec 10 '10 at 22:43
  • Could you please let us know what is OSK?? – mahonya Dec 25 '12 at 21:44
  • 1
    @sarikan [On-screen keyboard](http://en.wikipedia.org/wiki/Virtual_keyboard), in this case of Windows 7. – fnst Jan 02 '13 at 11:16

8 Answers8

3

From your description it sounds like the garbage collector is being triggered. How much RAM have you got in the system? Depending on the plugins you're loading Eclipse can need quite a lot of it. I think the bare minimum is 256 Mb, and realistically you need at least 1 Gb, more if you're doing web development

Have you got an up-to-date JVM? Eclipse generally runs much quicker with a 1.6 JVM.

One other thing to check, do you have an aggressive virus scanner? Eclipse plugins are collections of small files in jars, some virus scanners can really slow down the performance. If you are able, remove the Eclipse install directory from the scanned files.

See this EclipseZone article or this question for some general performance tips.

Community
  • 1
  • 1
Rich Seller
  • 83,208
  • 23
  • 172
  • 177
  • Thank you for the fast answer but I have 4 GB of RAM and I don´t think that the issue is because of my hardware. Yes im running a 1.6 JVM. The tip of an agressive virus scanner: Good idea, but I don´t use a scanner :) I become to desperate! – fnst Sep 11 '09 at 20:23
  • 1
    Have you run through the items in the linked question? in particular check the eclipse.ini file, the -Xmx and -XX:MaxPermSize arguments may be set too low. Also can you list the additional plugins you have installed? – Rich Seller Sep 11 '09 at 20:29
  • Yes I have run through. All argurments are high enough! – fnst Sep 11 '09 at 20:46
  • can you list the additional plugins you have installed? or is it a clean install? – Rich Seller Sep 11 '09 at 21:17
  • It´s a clean install, yes. When Eclipse is running and stumble, the window disappears very shortly from the task bar. It´s very strange. – fnst Sep 11 '09 at 21:39
1

I have same problem as not respoinding. I searched in internet for a solution. I found one by adding the below to eclipse helios config file. -vm C:\Program Files\Java\jre7\bin\javaw.exe

Initially it looks Ok to start and click on the different buttons and running on several files in eclips project. But when I click on debug and step by step process. Then it is again showing not respoding. I have a new laptop win7 installed.

Skaria
  • 11
  • 1
1

Run Process Monitor and see what kind of system calls and/or file system calls the JVM is doing. Use filters aggressively to pinpoint a specific process. I had a similar issue where a graphics card utility triggered a flood of registry lookups for every UI update which just made Eclipse incredibly slow. (Somehow SWT was hit exceptionally hard by this bug, I'm not sure why.)

EDIT: I meant "Process Monitor", not "Process Explorer". But the link was correct.

JesperE
  • 63,317
  • 21
  • 138
  • 197
  • Thanks for the answer! I was able isolate my issue: When i wait for a few seconds I can click for example on "File -> New -> Java Project". All is running very smoothly! But instantly when I select code in the text editor Eclipse stumble and the javaw.exe blast up to 50 percent of CPU. So I don´t think it´s a UI issue, or? Therefor I started Process Explorer, but I can´t find what you mean. Could you explain your advice further? I hope it was understandable! – fnst Sep 16 '09 at 17:38
  • Process Monitor allows you to monitor everything which happens in Windows in real time (as it happens): files being written, registry accesses, thread creation etc. There is a huge amount of data available, but in order to make sense of it you need to filter the data so that it only displays the relevant data for your process. If you see some resource being hit hard (excessive registry access, for example), you can filter on that specific kind of access to see more details. – JesperE Sep 16 '09 at 18:49
  • ...also, if you manage to pinpoint an exact name of a file or registry entry you'll want to google it to see if others have the same problem. – JesperE Sep 16 '09 at 18:51
1

You could try to run it from within a virtual machine set up on your computer to see if the problem is still there. If it's not, it might be faster for you to just work from within the virtual machine environment. Doesn't address the issue, but it may help avoid it altogether.

JRL
  • 76,767
  • 18
  • 98
  • 146
1

Same problem for me

I have Windows 7 professional 64 bit and 8gb of RAM

Eclipse is extremely slow, probably 5 times slower than the Windows Vista 32 bit machine I have recently upgraded from (Europa version) - and that machine was a complete dog!

Adding -Xmx1024m -XX:+UseParallelGC -vm C:\Program Files\Java\jdk1.6.0_20\jre\bin\server\jvm.dll has made a pretty big difference

Nifle
  • 11,745
  • 10
  • 75
  • 100
Matt
  • 11
  • 1
  • adding -Xmx1024m -XX:+UseParallelGC -vm C:\Program Files\Java\jdk1.6.0_20\jre\bin\server\jvm.dll has made a pretty big difference. – Matt Jun 22 '10 at 00:46
  • Thanks Matt! You should add this comment as an answer. My Galileo on 64bit W7 is noticeably faster. – n4rzul May 26 '11 at 12:36
1

I had same problem so I just switched to the 32 bit version of Eclipse and it runs fine with no performance issues.

PAS
  • 68
  • 6
1

I can´t really explain the problem from scratch. But in my case, it was a trouble between Eclipse´s and the auto-complete-function of my OSK. If I disabled auto-complete, there was no hangs anymore. I don´t know why the using of the OSK blocks the thread (?) of the whole editor.

Maybe anyone of you, has an idea why?

Thanks for any help!

fnst
  • 5,574
  • 4
  • 23
  • 18
0

I have the same problems with the 32 bit version, running with a 32 bit JVM.

It's more that my RCP Application which I developed with Eclipse is slow. I've tried both -Xmx1024m and -XX:+UseParallelGC, with no noticable effect. Has this issue been registed with eclipse.org?

Ant Kutschera
  • 6,257
  • 4
  • 29
  • 40