为什么Eclipse maven没有任何理由生成巨大的.cfs文件?

时间:2021-11-05 10:42:45

I suddenly found that the plugins folder of my Eclipse workspace was huge, and I discovered the following files:

我突然发现我的Eclipse工作空间的plugins文件夹很大,我发现了以下文件:

  • ...\EclipseWorkspace\.metadata\.plugins\org.eclipse.m2e.core\nexus\d5024e88244f4087c1f73b4a8fae2df4_i.cfs ~200MB
  • …\ EclipseWorkspace \ . metadata \ . plugins \ org.eclipse.m2e.core \ \ d5024e88244f4087c1f73b4a8fae2df4_i关系。cfs ~ 200 mb
  • E:\.m2\repository\.cache\m2e\1.0.100\d9d714e11cb097b3ffcec91cccc65d3e\min_n.cfs and also _r.cfs ~200MB each
  • E:\ .m2 \ repository \ .cache \ m2e \ 1.0.100 \ d9d714e11cb097b3ffcec91cccc65d3e \ min_n。cfs _r。cfs ~ 200 mb

Before finding these huge files I didn't even know what Maven was, I didn't choose to install it (must have come with Indigo upgrade) and I haven't ever used it or told it to index or cache anything.

在找到这些巨大的文件之前,我甚至不知道Maven是什么,我也没有选择安装它(必须使用Indigo升级),我从来没有使用过它,也没有告诉它索引或缓存任何东西。

I have seen this question and googled extensively, but can't work out why maven or nexus is even doing anything!

我已经看到了这个问题,并在google上搜索了很多,但却无法解释为什么maven或nexus甚至可以做任何事情!

Could someone please explain to me why it creates these files in the first place, especially without me even using it or telling/allowing it to?

有人能向我解释一下为什么它会首先创建这些文件吗?特别是在我没有使用它或告诉它的情况下。

Thanks in advance!

提前谢谢!

1 个解决方案

#1


4  

I just have the same problem. I just did some test coding and found that 250MB are stored in a file

我有同样的问题。我只是做了一些测试编码,发现250MB存储在一个文件中。

...eclipse-workspace.metadata.plugins\org.eclipse.m2e.core\nexus\d9d714e11cb097b3ffcec91cccc65d3e_j.cfs

…eclipse-workspace.metadata.plugins \ org.eclipse.m2e.core \ \ d9d714e11cb097b3ffcec91cccc65d3e_j.cfs关系

i found this:

我发现这个:

http://dev.eclipse.org/mhonarc/lists/m2e-users/msg01708.html

http://dev.eclipse.org/mhonarc/lists/m2e-users/msg01708.html

m2e caches lucene index in two places. Per-workspace indexes are stored under .metadata/.plugins/org.eclipse.m2e.core/nexus and there is also global cache in ~/.m2/repository/.cache/m2e/${m2e.version}.

m2e在两个地方缓存lucene索引。每个工作空间索引存储在.metadata/.plugins/org.eclipse.m2e中。core/nexus以及在~/.m2/repository/.cache/m2e/${m2e.version}中也有全局缓存。

Try cleaning the caches and see if the problem goes away.

尝试清理缓存,看看问题是否会消失。

Well - but that doesn't still till what and why it is stored there.

但这还不知道为什么它被储存在那里。

#1


4  

I just have the same problem. I just did some test coding and found that 250MB are stored in a file

我有同样的问题。我只是做了一些测试编码,发现250MB存储在一个文件中。

...eclipse-workspace.metadata.plugins\org.eclipse.m2e.core\nexus\d9d714e11cb097b3ffcec91cccc65d3e_j.cfs

…eclipse-workspace.metadata.plugins \ org.eclipse.m2e.core \ \ d9d714e11cb097b3ffcec91cccc65d3e_j.cfs关系

i found this:

我发现这个:

http://dev.eclipse.org/mhonarc/lists/m2e-users/msg01708.html

http://dev.eclipse.org/mhonarc/lists/m2e-users/msg01708.html

m2e caches lucene index in two places. Per-workspace indexes are stored under .metadata/.plugins/org.eclipse.m2e.core/nexus and there is also global cache in ~/.m2/repository/.cache/m2e/${m2e.version}.

m2e在两个地方缓存lucene索引。每个工作空间索引存储在.metadata/.plugins/org.eclipse.m2e中。core/nexus以及在~/.m2/repository/.cache/m2e/${m2e.version}中也有全局缓存。

Try cleaning the caches and see if the problem goes away.

尝试清理缓存,看看问题是否会消失。

Well - but that doesn't still till what and why it is stored there.

但这还不知道为什么它被储存在那里。