2015-11-14 234 views

回答

1

的.metadata是工作区设置的存储位置。所以如果你删除它,那么你的所有偏好,缓存,工作区中的项目等都将丢失。

(扩大早先的答案)。

是的,继续和删除.metadata。一旦你重新导入你的项目,提供你的目标,并允许所有的索引器运行,你可能会发现你的.metadata已经重新增长到相同的大小。

一个不会导致完全再生的几件事情是,你将被抛弃每个文件的本地历史。这可能会节省几个百分点。

在我目前的工作空间之一,在.metadata分解大致是这样的(只显示大量使用的文件夹):

.metadata <- 524 MB 
    .plugins <- 523 MB (this is where individual plug-ins save there persisted states) 
    org.eclipse.pde.core/.bundle_pool <- 335 MB (these are the plug-ins that are part of my target platform) 
    org.eclipse.jdt.core <- 67 MB (this is the indexes of my Java files) 
    org.eclipse.epp.logging.aeri.ui <- 30 MB (this is the Automatic Error reporting local cache of remote database) 
    org.eclipse.core.resources/.history <- 12.4 MB (this is the local history) 

可能要问不同的问题有用的(例如,为什么富/酒吧工作区/ .metadata中的路径占用了太多空间),因为它可能是一个简单的配置更改对磁盘使用率有很大影响。

+0

它看起来不正确,这将是1GB虽然。不应该用1024mb来表示编辑器的颜色是蓝色的。 –

+0

但是,它可能需要1GB来配置您的目标平台,保存所有代码的Dom缓存等。 –

相关问题