Eclipse .metadata\.plugins disk space
Asked Answered
E

5

30

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.

Eulogize answered 16/12, 2011 at 20:38 Comment(0)
P
7

The plugins store your workspace configuration. If you delete them then your workspace may become unusable.

Depending on your plugins used and what you are doing you can probably delete some of them. Personally I'm regularly cleaning some of the plugins.

What I delete:

  1. maven repository files/indexes
  2. project indexes
  3. Copies of deployed files to application servers.

I'd suggest you get a tool like WinDirStat and check, which plugins use up your space and maybe by name e.g. index you figure out that this plugin can be safely deleted.

Peddler answered 16/12, 2011 at 20:51 Comment(0)
L
34

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.

Loathsome answered 7/9, 2012 at 17:42 Comment(1)
Are there any downsides to disabling Nexus? That is, will any functionality be lost, or will it slow down builds?Selfregard
P
7

The plugins store your workspace configuration. If you delete them then your workspace may become unusable.

Depending on your plugins used and what you are doing you can probably delete some of them. Personally I'm regularly cleaning some of the plugins.

What I delete:

  1. maven repository files/indexes
  2. project indexes
  3. Copies of deployed files to application servers.

I'd suggest you get a tool like WinDirStat and check, which plugins use up your space and maybe by name e.g. index you figure out that this plugin can be safely deleted.

Peddler answered 16/12, 2011 at 20:51 Comment(0)
C
2

Generally web apps are deployed in one of the directories in .metadata and that's generallay the reason of large size

.metadata\.plugins\org.eclipse.wst.server.core
Charmer answered 17/12, 2011 at 16:58 Comment(0)
H
0

There is stuff associated with launch configs in .metadata/.plugins/org.eclipse.pde.core/. This can often accumulate a lot and can be safely deleted.

Homocercal answered 17/12, 2011 at 16:56 Comment(0)
H
0

In my case, The following directory was with big size. .plugins/org.eclipse.jdt.core

Hadley answered 20/12, 2022 at 12:17 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.