Reputation: 366
My Eclipse is very slow. I am using it for android projects and it is damn slow when making a build or cleaning the project. I have latest android sdk 21 and ADT 21 installed. My Laptop's configuration is :-
Dell Latitude
4 gb ram
core i5
32 bit OS
I tried changing the eclipse.ini file but every time i increase the heap size there the eclipse does not start and shows an error "unable to run Java virtual Machine". Here is me ini file:-
-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
768m
--launcher.defaultAction
openFile
-vmargs
-Xms768m
-Xm1280m
Please suggest some trick to make it fast. Thanks in Advance.
Upvotes: 2
Views: 3768
Reputation: 93
I'm using ADT 22.0 or above. My application includes AdMob and during the running or debugging step, the class files in admob jar are converted to dex files.
I removed the admob code and the jar from my project temporarily and the build process speeded up again.
Upvotes: 0
Reputation: 1037
Your specs are good enough, Eclipse does lots of tasks in the background to make your life easier. Now I have been using Eclipse for more than eight years now and I have come up with the set of tuneups to make it run faster for me. I'll list them down here, you may choose to apply all of them or some of them, it is up to you.
Open the Preferences by going to the Window menu and choosing Preferences (Assuming you are using the default configuration):
I'm sure there are other things that can be tuned, I myself modify more options than the ones I've mentioned above, but they are only to suite my needs, I only highlighted ones that would affect speed. What you would also need to check for is essentially any option that automates actions for you while using Eclipse, and make then decision if you can live with that option being done manually.
You may also want to make sure that your laptop is set to use High-Performance for the power configuration. Some laptops will run with half the CPUs' power while under other power configurations.
Finally, I would recommend you export your tuned up preferences into a file so that you can import them into other workspaces in the future.
To export Go to File menu>Export>General>Preferences
Upvotes: 3
Reputation: 4311
Dude, i had same problem. Eclipse android project compilation and packaging is too boooooring. I changed IDE from Eclipse to Intellij IDEA - it works a bit better, not the best compilation and packaging speed, but also better then Eclipse. Try it for you.
Upvotes: 0
Reputation: 5631
I like your name ;) Anyways, There are a few things you can check and do to make it faster.
Upvotes: 0