Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse always Building workspace

Tags:

java

eclipse

Normally when we check Project->Build automatically, it will build when our project's source has change, But when i check this option my eclipse is always building-- about every 2 or 3 seconds-- no matter it has changes or not. I can see from the right bottom state bar show "building workspace...".

It's annoying that this behavior drive my eclispe really slow and the CPU is always in high usage.

I'm using eclipse 3.7 for java EE developers, m2e, maven integration for WTP, git plugin, subclipse and Google plugin for eclipse, checkstyle, findbugs, etc.

Any ideas?

P.S I'm on Win 7 with 8GB RAM

like image 709
Mike Avatar asked Nov 25 '12 14:11

Mike


People also ask

How do I stop Eclipse from building workspace?

In these situations, autobuild can be turned off through Window > Preferences > General > Workspace > Build automatically. Even for smaller workspaces, turning off autobuilding may be a useful feature.

What does building workspace mean in Eclipse?

It means Eclipse is rebuilding every relevant project in your namespace.

What is build automatically in Eclipse?

By default, you are in auto-build mode and Eclipse takes care of compiling source files automatically. Builds occur automatically in the background every time you change files in the workspace (for example saving an editor). Auto-build is convenient because it means problems view, binaries, etc.

How to solve Eclipse building workspace too slow problem?

How To Solve Eclipse Building Workspace Too Slow Problem 1. Uncheck Project Auto Build.. If you check the project auto-build menu item, the project will build automatically... 2. Increase Eclipse Used Memory Size.. Eclipse used maximum and minimum memory size are configured in eclipse.ini file. 3. ...

What is eclipse workspace in Eclipse?

About Eclipse Workspace. The workspace has a hierarchical structure. Projects are at the top level of the hierarchy and inside them you can have files and folders. Plug-ins use an API provided by the resources plug-in to manage the resources in the workspace.

What are the resources in Eclipse workspace?

The eclipse workspace contains resources such as − The workspace has a hierarchical structure. Projects are at the top level of the hierarchy and inside them you can have files and folders. Plug-ins use an API provided by the resources plug-in to manage the resources in the workspace.

How do I Make my Eclipse project far away from hanging?

So you can make your eclipse project far away from hanging by following two methods. Create a new workspace and import all existing projects into it. Close the current workspace and delete the .metadata folder under the current workspace and open the workspace again in eclipse to create a new .metadata folder.


1 Answers

I have seen this effect with an ant-based build before.

You probably have something in your maven build that outputs to one of the source folders or one of it subdirectories. Eclipse detects that a file has changed and starts a new build.

like image 173
Axel Avatar answered Oct 05 '22 17:10

Axel