I'm using Eclipse PDT on a rather large PHP project and the IDE is almost unusable. It takes nearly 30 seconds to open a file, and other actions, like selecting a folder in the file explorer, editing some text, etc. are equally slow.
I followed various instructions to speed it up but nothing seems to work. This is my 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, 4 GB RAM
It looks like Eclipse in silence have created a fix and announced it in all secracy through their wiki (!). It seems to alleviate the problems for me at least; though I have not tested it in length yet.
See http://wiki.eclipse.org/Platform_UI/Juno_Performance_Investigation
Basically you should install the "Juno SR1 Patches/Eclipse UI Juno SR1 Optimization" from their 4.2 update site: http://download.eclipse.org/eclipse/updates/4.2
Bug-tracking for this optimization: https://bugs.eclipse.org/bugs/show_bug.cgi?id=394588
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 is the solution:
Open a different perspective (for example java, but not php) and restart eclipse. Afterwards you can savely switch back to php perspective. Eclipse will have no performance issues.
Also mentioned here
Actually in looking at your machine configuration, you should make sure nothing else is going on in the machine and experiment with reducing your required memory, say something like -Xmx512m. If you are requesting too much heap space, then it's possible you are doing a lot of OS paging.
There is also a known bug which makes eclipse juno slow on some systems :
https://bugs.eclipse.org/bugs/show_bug.cgi?id=385272
A workaround seems to be to delete the workbench.xmi file.
From http://wiki.eclipse.org/Platform_UI/Juno_Performance_Investigation
Ensure you are already running on a package from the Juno SR1 release (September 2012)
Invoke 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
I was having similar issues with the Eclipse and the ARM emulator running. When I switched from tab to tab on Eclipse it would take 5 seconds for it to switch over and Eclipse would be in a "Not Responding" mode for a moment. I actually increased my heap memory on my eclipse.ini by using -Xmx1024m. It fixed the issue.
I had very big UI performance issues upon switching to 4.2 (using PDT) and after investigating for a while, I noticed it was due to... the PHP perspective. That doesn't make any sense, but I could confirm it on two different computers.
Try switching to another one (like, the Resource one), then restart Eclipse (last part is important).
Let me know if that helped.
I was having huge problems with performance (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 a while I started noticing the fix above did not make my problems go away entirely. I did find another post above helpful. I install the Spring Source Toolsuite plugin and I believe that may be the source of the slowness. After installing the patch at the following link, Eclipse is running much more smoothly: http://wiki.eclipse.org/Platform_UI/Juno_Performance_Investigation
Eclipse 4.2 Service Release 2 was released a few days ago (1 Mar 2013. It is the result of the all of these investigations and the patches suggested previously.
Give it a shot!
Make sure you have turned off "show whitespace characters" on Linux.
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=320595)
I'm using Eclipse 4.2.2 version for Developing android Apps. But its slow when coding my applications. (not XML graphical layout or Android Emulator)
I'm using NetBeans also, but it's working really well!
Specially I want to notify here I've added many more plugins to Eclipse and now I've uninstalled all of that. Now there is only ADT Plugin with Eclipse Base Plugins.
I've seen some best settings for speed up eclipse UI.
I want to know what's the best settings for my laptop.
Windows 8.1, 12 GB Ram.
at lastly sorry for posting here, I cant post any questions because I'm blocked.
I hope best solution from here.
Related
Rubymine 7.1 (build RM# 141.644) debugger on a rails 4.1.10 project is very slow. Rendering pages takes +12 seconds.
I've tried setting my JVM properties as described here but its still super slow. Here are my settings:
cat rubymine.vmoptions
-Xms1024m
-Xmx1024m
-XX:MaxPermSize=250m
-XX:+UseCompressedOops
Any other suggestions would be welcome. Thanks!
There's a slightly experimental release for OSX Yosemite that is quite a bit faster.
They say, "This alternative RubyMine 7.1 distribution bundles JDK 1.8 customized by the JetBrains team for better performance. Please note this non-default option may contain some issues."
https://www.jetbrains.com/ruby/download/
After I have upgraded to Eclipse Juno
Eclipse Java EE IDE for Web Developers.
Version: Juno Release
Build id: 20120614-1722
I am facing following issues:
It takes ~5 mins to open eclipse.
If I try to clean a project it takes ~10 mins.
The following are the args that I have set
-vmargs -Xms256m -Xmx1024M -XX:MaxPermSize=512m
I have an 8GB RAM installed and I am using Windows 7.
Is there anything I can do about this issue? As during this period my system is stuck.
Thanks for your help.
This is a known issue. They have recently released a minor update (4.2.1) but much of the main issues with performance have yet to be addressed. If you read through that ticket you will see that there are a couple of things that can help speed things up immediately.
Switch to classic theme. Window > Preferences > General > Appearance > Theme switch to classic
On the same preference page disable animations.
I would add your name to the CC list and you can keep apprised of the improvements to performance. It seems that many of the performance issues (especially with the XML editor) will not be fixed until 4.2.2.
Can anyone give an optimized configuration for Eclipse Helios.
I am using XP,i3,3 GB Ram I work mostly on Eclipse and use few lightweighted application along with firefox.
Take a look at this answer for "optimized" eclipse.ini settings file for Eclipse Helios.
I'd like to hear, if anyone else encounters the same problems, and doesn't use Google's GWT (2.0) plugins:
Sometimes, my Eclipse 3.5 (Cocoa) slows down after some time of usage (>=30 minutes), so that things like maximizing an editor or moving the splitters becomes unbearably slow (reacting only after several seconds). After an Eclipse restart, everything's fine again.
I'm not running low on memory (neither free RAM, nor memory available to Eclipse - Heap/Stack/PermGenSpace), and my system specs are not too bad.
I know exactly one other person so far, who sees the same problem - but he also uses the GWT plugins. Since these issues appear irregularly, they're hard to track. Before creating an issue on the GWT bug tracker, I'd like to find out, if this also happens for somebody without Google's plugins.
Thanks,
Chris
Edit:
I'm running Snow Leopard 10.6.2, Eclipse 3.5 Cocoa 32-bit.
eclipse.ini:
-startup
../../../plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx_1.0.1.R35x_v20090707
-product
org.eclipse.epp.package.jee.product
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-XX:MaxPermSize=280m
-Xdock:icon=../Resources/Eclipse.icns
-Xms54m
-Xmx560m
A good eclipse.ini can help.
But as mentioned in "Horrible eclipse performance on macbook pro running 10.5.8" (which kind of illustrate the fact that performance issue can happen with Galileo without GWT), it can depend on the OS version (Snow Leopard or Leopard).
I have macbook with osx 10.6.3
Eclipse 3.5.2
I develop gwt 2.0.3 + ext-gwt 2.1.3.
I have noticed that suddenly a part of the project slows down. I mean, while before loading the screen was 2-5 sec in dev mode, suddenly increased to a minute or two (?????).
I remember, that earlier, I have re-installed eclipse, but that did not work (????), and when created a new workspace, and moved the project there, suddenly the slowing was gone.
So, I did the same now also.
I don't know the exact reason / solution. However, under the workspace there is a folder ".metadata/.plugins" in there there are lot's of folders. In the "org.eclipse.core.resources" / ".projects" you have for each project you got in your workspace a folder.
Noticed that when I have copied here the project-folder of the same project, created in other workspace, the slowing was gone.
So, eventually the solution is simple: to delete the project from the workspace, but only from the "Package explorer" - that actually removes the folder belonging to the removed project from the above mentioned folder (".metadata/.plugins/org.eclipse.core.resources/.projects/"), while keeping the project files at their location (you should make a backup of it just for sure :) ), and than importing it back.
Voila!
It works fine again.
Trying to work with Eclipse for Android (ADT plugin) development at my iMac (2.4Ghz, 4Gb RAM) and it's very slow (Eclipse Galileo SR2 x64).
I know about eclipse.ini tricks and make some changes like:
-XX:MaxPermSize=256m
-Xms256m
-Xmx1024m
-XX:+UseCompressedOops
-XX:+AggressiveOpts
-XX:+UseConcMarkSweepGC
And use Java 1.6 by default:
-Dosgi.requiredJavaVersion=1.6
But still have freezing at small project. Even scrolling of class with 50LOC very slow. At same projects IntellijIdea works much faster.
Have some secret spells to win?
I find the best way to keep eclipse performant is to use as few plugins as possible.
To that end, I keep totally separate eclipse installations for different development tasks (one for Android, one for Python, etc.).
Rather than using one of the prescribed distributions (like "Eclipse for Java developers"), I always start with a PDE installation (i.e., basically no plugins). Then I add only the plugins that I need for the particular task.
I find that startup time, memory usage, and performance are a lot better. None of my environments require more than 200MB of RAM, even with lots of big projects open. Also, no need to mess with eclipse.ini.
As an added bonus, the PDE download is a mere 50MB, not 100-200MB for the standard distributions.