我运行了一个磁盘清单,因为我的空间快用完了,我发现我的Eclipse (Flash Builder)工作区中的.metadata文件夹有1 1GB大小。我在工作空间中使用了许多项目中的4个。我猜如果我删除它,我将不得不将项目重新导入到工作区或新的工作区中。我该怎么办?
发布于 2015-11-15 15:51:31
.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)
问一个不同的问题可能很有用(例如,为什么workspace/.adata中的foo/bar路径会占用这么多空间?)因为一个简单的配置更改可能会对您的磁盘使用产生很大影响。
https://stackoverflow.com/questions/33706778
复制相似问题