Skip to main content



      Home
Home » Newcomers » Newcomers » How to clean up .metadata
How to clean up .metadata [message #267141] Tue, 16 December 2008 20:38 Go to next message
Eclipse UserFriend
Is there a way to clean up .metatdata in a workspace? I have noticed it's
about 2/3 of my whole workspace now. Thanks.
Re: How to clean up .metadata [message #267143 is a reply to message #267141] Wed, 17 December 2008 05:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jacek.pospychala.pl.ibm.com

fchen pisze:
> Is there a way to clean up .metatdata in a workspace? I have noticed
> it's about 2/3 of my whole workspace now. Thanks.
>

Fchen,
if you look into .metadata/plugins, which folders use the most space?

For me it's usually:
- org.eclipse.jdt.core - uses lot of space for Java search index. This
is a price for fast Ctrl+Space, Ctrl+Shift+T, etc.
- org.eclipse.pde.core - if you do Plug-in development, launch
configurations may take a lot of space. Usually cleaning up Launch
Configurations should help.

btw, how big is your workspace?
Re: How to clean up .metadata [message #267155 is a reply to message #267143] Wed, 17 December 2008 10:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nowhere.a.com

Jacek Pospychala wrote :
> fchen pisze:
>> Is there a way to clean up .metatdata in a workspace? I have noticed it's
>> about 2/3 of my whole workspace now. Thanks.

rookie...

> btw, how big is your workspace?

Just .java files: 1,518 files taking up 5.5 MBytes
..metadata dir : 32,954 files taking up 326 MBytes

But then I have Preferences/ General/ Workspace/ Local History set for
365 days. Probably don't need that much of a back level, but it has
saved me on occasion, and it only takes once :-)

--
Wojtek :-)
Re: How to clean up .metadata [message #267158 is a reply to message #267143] Wed, 17 December 2008 12:48 Go to previous messageGo to next message
Eclipse UserFriend
I have a few of them. One extreme case: the workspace is about 100M while
metadata is 93M! You are right, the monsters are in jdt.core, pde.core
and core.resources.

I just wish there were an easier way to clean them up instead of going
through different places like preferences etc.

Just curious, will RCP built based on Eclipse architecture encounter
similar problem?


Regards,

Feng
Re: How to clean up .metadata [message #267192 is a reply to message #267155] Fri, 19 December 2008 05:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jacek.pospychala.pl.ibm.com

Wojtek pisze:
> But then I have Preferences/ General/ Workspace/ Local History set for
> 365 days. Probably don't need that much of a back level, but it has
> saved me on occasion, and it only takes once :-)


OMG, whole year back! you could get nice statistics from that.
CVS is supposed to do that. or better Git - where you can have a local
repository, so no need to pollute company's main repo.

Jacek
Re: How to clean up .metadata [message #267196 is a reply to message #267158] Fri, 19 December 2008 05:55 Go to previous message
Eclipse UserFriend
Originally posted by: jacek.pospychala.pl.ibm.com

fchen pisze:
> I have a few of them. One extreme case: the workspace is about 100M
> while metadata is 93M! You are right, the monsters are in jdt.core,
> pde.core and core.resources.
> I just wish there were an easier way to clean them up instead of going
> through different places like preferences etc.

keep in mind, it's for Eclipse performance. 100M for cache, with current
hard drives prices is hundrets times cheaper compared to CPU, that would
do the same thing with the same speed.

> Just curious, will RCP built based on Eclipse architecture encounter
> similar problem?

No, only if your RCP will include JDT or PDE and users will be creating
huge workspaces with big projects. Depends on your RCP.

Jacek
Previous Topic:Implement a PinAction ?
Next Topic:KLOC and so forth
Goto Forum:
  


Current Time: Wed Sep 24 12:16:38 EDT 2025

Powered by FUDForum. Page generated in 0.10358 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top