Very slow Eclipse 4.2, how to make it more responsive?

I use Eclipse PDT in a fairly large PHP project and the IDE is almost unusable. It takes about 30 seconds to open the file, and other actions, such as selecting a folder in the file explorer, editing text, etc., are equally slow.

I followed various instructions to speed it up, but nothing works. This is the current current eclipse.ini file. Any idea how I can improve it?

 -startup plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813 -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m --launcher.defaultAction openFile -vmargs -server -Dosgi.requiredJavaVersion=1.7 -Xmn128m -Xms1024m -Xmx1024m -Xss2m -XX:PermSize=128m -XX:MaxPermSize=128m -XX:+UseParallelGC 

System: Eclipse 4.2.0, Windows 7, RAM 4 GB

+61
performance optimization eclipse eclipse-juno
Jul 12 '12 at 7:19
source share
11 answers

Actually, looking at the configuration of your computer, you need to make sure that nothing is happening in the machine, and experiment with reducing the required memory, say something like -Xmx512m. If you ask for too much heap space, then it is possible that you are doing a lot of OS search call.

+9
Jul 16 2018-12-12T00:
source share

It seems that in silence, Eclipse created the patch and announced it in all secrets through its wiki (!). This seems to ease the problems for me, at least; although I have not tested it in length yet.

See http://wiki.eclipse.org/Platform_UI/Juno_Performance_Investigation

Basically you should install "Juno SR1 Patches / Eclipse UI Juno SR1 Optimization" from your 4.2 update site: http://download.eclipse.org/eclipse/updates/4.2

Error tracking for this optimization: https://bugs.eclipse.org/bugs/show_bug.cgi?id=394588

+35
Dec 18
source share

There are known performance issues with PDT 3.1 and eclipse 4.2 (juno).

https://bugs.eclipse.org/bugs/show_bug.cgi?id=385272

This solution:

Open a different perspective (e.g. java but not php) and restart eclipse. Subsequently, you can return to the php perspective. Eclipse will not have performance issues.

Also mentioned here

+28
Sep 05 '12 at 7:11
source share

There is also a known bug that slows down eclipse juno on some systems:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=385272

The workaround is to delete the workbench.xmi file.

+6
Sep 03
source share

From http://wiki.eclipse.org/Platform_UI/Juno_Performance_Investigation

  • Make sure you are already using the package from the Juno SR1 release (September 2012)
  • Get Help> Install New Software
  • Select this repository: http://download.eclipse.org/eclipse/updates/4.2
  • Expand Juno SR1 Patches and install Eclipse UI Juno SR1 Optimizations

Worked for me

+4
Jan 17 '13 at 11:50
source share

I had similar problems running Eclipse and the ARM emulator. When I switched from tab to Eclipse tab, it would take 5 seconds to switch it, and Eclipse would be in β€œNot Responsive” mode for a moment. I really increased my heap memory on my eclipse.ini with -Xmx1024m. This fixed the problem.

+3
Oct 22 '12 at 5:20
source share

I had very big user interface performance issues when switching to 4.2 (using PDT), and after studying for a while I noticed that this was due to ... the PHP perspective. It makes no sense, but I can confirm it on two different computers.

Try switching to another (for example, one resource), then restart Eclipse (the last part is important).

Let me know if this helped.

+2
Jul 21 '12 at 22:23
source share

I had huge performance issues (switching between editor windows was SLOW). I modified the eclipse.ini file to use -Xmx1024m rather than -Xmx512m, and the performance is much better.

Update. After some time, I began to notice that the correction above did not lead to the fact that my problems completely disappeared. I found another useful article. I install the Spring Source Toolsuite plugin, and I believe that this can be a source of slowness. After installing the patch from the following link, Eclipse works much more smoothly: http://wiki.eclipse.org/Platform_UI/Juno_Performance_Investigation

+2
Dec 05
source share

Eclipse 4.2 Service Release 2 was released a few days ago (March 1, 2013. This is the result of all these studies and previously proposed corrections. Give it a chance!

+1
Mar 05 '13 at 1:57
source share

Make sure you turn off "show whitespace" on Linux. ( https://bugs.eclipse.org/bugs/show_bug.cgi?id=320595 )

0
Dec 12 '13 at 17:16
source share

I am using Eclipse version 4.2.2 to develop Android applications. But it is slow when coding my applications. (not an XML graphic layout or Android emulator)

I also use NetBeans, but it works very well!

In particular, I want to report here. I have added many more plugins to Eclipse and now I have uninstalled it all. Now there is only an ADT plugin with Eclipse Base plugins.

I saw some of the best settings to speed up the eclipse user interface.

I want to know what are the best settings for my laptop.

Windows 8.1, 12 GB Ram.

Finally sorry to post here, I cannot answer any questions because I am blocked.

I hope the best solution is here.

0
Jun 07 '14 at 1:07
source share



All Articles