2

I don't know whats wrong with my eclipse. its running so slow. it takes at least 10 minutes to open. when Start server it is also taking long time.I tried multiple way.

I am on Windows 7,

eclipse LUNA (4.4.0)

I am using maven and spring framework and running jboss server.

I have 8 GB of RAM.

my eclipse.ini look like that

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
1024M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
1024m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms1024m
-Xmx1024m

I have changed Xms and Xmx value from

-Xms128m

-Xmx128m

to this

-Xms1024m

-Xmx1024m

But I am having the same issue, It was working fine but after few days it become slower and slower. Please help.

Varun
  • 4,342
  • 19
  • 84
  • 119
  • 1
    Windows 64 bit you're using right? 'cause 32 bit will only take 2+GB of RAM even you have 8GB RAM. – Pasupathi Rajamanickam Jul 29 '15 at 06:58
  • 1
    There could be an endless list of reasons for this. You should also provide additional information like: eclipse version, any new plugins that you installed before it got slower etc. We used to see problems with javascript validation and the maven builder slowing down our IDE (that was in version 3.4). – nutfox Jul 29 '15 at 06:59
  • Try launching eclipse from command prompt with memory arguments. eclipse -Xms 4048M -Xmx 4048M and look for any log on command prompt. – Ouney Jul 29 '15 at 06:59
  • Did you try using a clean workspace? You could try running eclipse in clean mode: [link](http://stackoverflow.com/questions/2030064/how-to-run-eclipse-in-clean-mode-and-what-happens-if-we-do-so) – Jan Jul 29 '15 at 07:00
  • One more thing I used to do, I'll close Dynamic Web project as much as possible. 'cause building workspace will validate JARs inside web application which will take much time. So closing un-used project would help a little. – Pasupathi Rajamanickam Jul 29 '15 at 07:02
  • as other mentioned, could be because of plugin, try to disable recent plugins you have installed and restart until it goes to normal – Frederic Henri Jul 29 '15 at 07:07
  • @link I do it now and then, but it does not effet – Varun Jul 29 '15 at 07:10
  • @ Pasupathi I have only one Dynamic project – Varun Jul 29 '15 at 07:11
  • The following link can be helpful: http://stackoverflow.com/questions/316265/how-can-you-speed-up-eclipse – Leo Jul 29 '15 at 07:17

4 Answers4

0

Add -Xverify:none to your eclipse.ini file.

It will cut down your Eclipse startup time considerably.This will tell the VM not to validate all the .class files it is loading

sailakshmi
  • 25
  • 8
0

try removing unwanted plugins from the eclipse.. since these plugins cause unnecessary memory consumption you will definitely see some improvement. I have faced this issue, after removing some plugins,my eclipse got real faster..

pappu_kutty
  • 2,378
  • 8
  • 49
  • 93
0

You can try the Eclipse plug-in 'Optimizer for Eclipse'. It really helped me to boost my Eclipse start-up.

It can update your settings by itself (change heap size, suggest the latest eclipse/jdk version, and more).

Link : https://zeroturnaround.com/free/optimizer-for-eclipse/

Medhi Redjem
  • 188
  • 1
  • 7
0

Disable unwanted plugins during startup.

Eclipse Startup Shutdown Settings

Siva
  • 598
  • 3
  • 11