Search code examples
javaandroideclipseperformancemulticore

Speed up eclipse juno on windows


I have 4 GB of ram and a core 2 duo processor . I am running eclipse for android on it and its running slow. There are no other programs running on it and its only using 40% of the CPU. I thought that if i could dedicate a CPU only to this program it might run faster. Any idea on how it can be achieved. Any help on this matter would be appreciated.

This problem also made me think on how a multi core processor runs and why is it better then other single core systems any verified literature on this available on web.


Solution

  • These are some general methods to speed up your eclipse,

    1.Make sure you have latest JDK installed and eclipse has reference to it.

    2.You are currently using Juno(4.2) , try to install latest version like Mars or Luna(4.4) . It is preferable to use Android Studio because it is official IDE for Android development.

    3.As you have 4GB of RAM ,try to modify eclipse.ini file

    -Xms128m
    -Xmx350m
    

    Replace -Xmx350m with -Xmx4G so that it gets 4 GB of RAM instead of 350MB .