1

I was trying to run the android project for a tablet with huge source code say around above 35 MB with drawables. Its taking nearly 5 to 10 minutes to compile and when i start the Eclipse it takes 5-10 minutes again. Can any one help to resolve this problem. I have Windows, i5 with 12 GB ram configured. Still its costing such a huge time.

thanks in advance

Lokesh Mehra
  • 545
  • 6
  • 16
user1850622
  • 33
  • 1
  • 5
  • 1
    startup time will depend more on how many SDK versions you have installed rather than you project. Consider removing platform versions that you don't need. – FoamyGuy Nov 25 '12 at 05:21
  • See the AAPT trick in [this answer](http://stackoverflow.com/questions/13335674/speed-up-android-project-build-time-in-intellij-idea/13391537#13391537), it may helps. – yorkw Nov 25 '12 at 21:18

1 Answers1

0

Try starting your Eclipse with additional memory assigned as :

    eclipse -vmargs -Xms512m -Xmx1024m

If you are using Eclipse shortcut, you can update the params through shortcut properties.

Details here: Running Eclipse with Memory Params

Yogendra Singh
  • 33,927
  • 6
  • 63
  • 73
  • yogendra thanks for giving replay i have already made that modifications to eclipse.ini file. – user1850622 Nov 25 '12 at 05:42
  • @user1850622: With similar memory? If yes, then probably you have made your Eclipse heavy by installing many plugins. Try after uninstalling the unused plugins. – Yogendra Singh Nov 25 '12 at 06:00