views:

212

answers:

1

Hi all..

i am using Eclipse IDE for developmental purpose, IDE is taking too much time to build, it gets hangs up, when the percentage of Build reaches to 78. it shows refreshing workspace several times.. it eats up lots of time.. please tell me how to make it to disable the unwanted "refreshing workspace" and other time consuming activities, and make the build faster.

Thanks

+1  A: 

There are many possibilities to tune Eclipse.

First, when Eclipse is hanging up you should start Eclipse with some arguments and give it more memory. Use: eclipse -vmargs -Xms256m -Xmx1024m or even more.

EDIT: "eclipse -vmargs -Xms256m -Xmx1024m" is the commandline command with which you can start Eclipse (well, depending on your OS). For that you either need to have eclipse in your environement path or you will have to use an absolute path to your eclipse executable file. Under Windows systems you may use for example "C:\Programme\eclipse\eclipse.exe -vmargs -Xms256m -Xmx1024m". You could f.e. create a short-cut with this command.

Second: If possible you can use several workspaces for your eclipse projects if they are not connected to each other. When using other projects than the ones located in your actual workspace switch the workspace to the one you desire. That way eclipse does not need to load all contents at startup and will therefor start much faster.

Third: You can disable the "build workspace" Option. Go to "project" --> and uncheck "build automatically".

Thariama
can you please tell me how to give the argument which you have mentioned d above to the eclipse.. i am very new to it.
Shadow
in my project settings "build automatically" is disabled i checked just now.. still it shows "refreshing workspace"
Shadow
Hey "refresh automatically" option i have unchecked.. so "refreshing workspace" is not coming..one problem solved thanks.. but please tell how to put those argument to eclipse so that i can make build some more faster.
Shadow
Well, it probably won't make the build faster, but it will help you to prevent a crash related to memory issues.
Thariama