Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse .metadata\.plugins disk space

Eclipse's .metadata/.plugins seems to consume way too much space (235 MB), is there something I can safely throw away and still be happy?

I archive my source root, and this seems to take away all my space. This is a project with several Java projects.

like image 873
foobarometer Avatar asked Dec 16 '11 20:12

foobarometer


People also ask

Can I delete metadata folder in Eclipse?

Yes, go ahead and delete the . metadata.

How do I free up space in Eclipse?

In the Eclipse Installer in the menu go to Bundle Pools... and use the Cleanup Agent to get rid of plug-ins that are no longer in use. There is a cache at . p2/org. eclipse.

What is metadata folder in Eclipse?

The . metadata folder is an area where Eclipse plug-ins can save any information they want to save. This will include things like your preference settings, information about the contents of projects and the indices the Java plug-in uses to find classes and methods quickly.

How do I clean up my Eclipse workspace?

One way to fix a corrupted eclipse workspace is to delete the folder <workspace location>\. metadata\. plugins\org.


1 Answers

In my case 85% of the workspace is occupied by the m2e plugin indexes. More information on that can be found in this thread. You can disable it by adjusting plugin configuration parameters as shown on the image bellow: enter image description here

Then you can remove .metadata/.plugins/org.eclipse.m2e.core/nexus directory from your workspace.

like image 126
yurilo Avatar answered Sep 19 '22 17:09

yurilo