我运行磁盘清单是因为空间不足,我发现Eclipse(Flash Builder)工作区中的.metadata文件夹大小为1GB。我可能在工作区中使用了许多项目中的4个。我想如果删除它,我将不得不将项目重新导入到工作区或新的工作区中。我应该怎么办?
.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中的foo / bar路径为什么要占用这么多空间?)可能很有用,因为这可能是一个简单的配置更改,对您的磁盘使用量有很大的影响。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句