eclipse “远程系统资源管理器操作”导致冻结几秒钟
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1631817/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
"Remote System Explorer Operation" causing freeze for couple of seconds
提问by Grzegorz Oledzki
I observe "Remote System Explorer Operation" in Progress view of Eclipse after each save of Java file (so it might be related to compiling?). It makes the Eclipse unusable for 1 to 10 seconds. In some projects (of about the same size) it's quicker, in some it's slower.
每次保存 Java 文件后,我都会在 Eclipse 的 Progress 视图中观察到“Remote System Explorer Operation”(因此它可能与编译有关?)。它使 Eclipse 无法使用 1 到 10 秒。在某些项目(大约相同的大小)中,它更快,在某些项目中它更慢。
I have no idea which plugin might be the cause for it. I have Build id: 20090920-1017
. I have quite a few plugins installed.
我不知道哪个插件可能是它的原因。我有Build id: 20090920-1017
。我安装了很多插件。
I have tried turning all the remote systems to enabled=false
under Preferences | Remote Systems (whatever it means). I didn't help.
我已经尝试将所有远程系统转到enabled=false
首选项下 | 远程系统(无论它意味着什么)。我没有帮忙。
Any idea how to solve it?
知道如何解决吗?
EDIT:
编辑:
- It doesn't happen when
Project | Build automatically
is turned off. So it's some part of the building process.
Project | Build automatically
关闭时不会发生。所以这是构建过程的一部分。
采纳答案by Q9703
Here are the steps:
以下是步骤:
- Click on the
Windows
>Preferences
menu - Select
General
>Workspace
>Build
in the tree - Uncheck
Use default build order
- Select
RemoteSystemsTempFiles
- Click
Remove Project
- Click
Apply and Close
- 单击
Windows
>Preferences
菜单 - 在树中选择
General
>Workspace
>Build
- 取消选中
Use default build order
- 选择
RemoteSystemsTempFiles
- 点击
Remove Project
- 点击
Apply and Close
回答by Marckaraujo
Here are the steps:
以下是步骤:
- Click on the
Windows
>Preferences
menu - Select
General
>Startup and Shutdown
in the tree - Uncheck
RSE UI
- Select
Remote Systems
in the tree - Uncheck
Re-open Remote Systems view to previous state
- Restart Eclipse
- 单击
Windows
>Preferences
菜单 - 在树中选择
General
>Startup and Shutdown
- 取消选中
RSE UI
Remote Systems
在树中选择- 取消选中
Re-open Remote Systems view to previous state
- 重启 Eclipse
Note: You must have Eclipse 4.3.1 (or newer) due to a bug on previous version
注意:由于先前版本的错误,您必须安装 Eclipse 4.3.1(或更新版本)
回答by Alexis Laporte
This was driving me crazy too.
这也让我发疯。
Thanks to this topic I got to understand it was the plugin RSE
, but I could not uninstall the Remote System Explorer
plugin tool either.
I had to remove all the plugins whose name started by org.eclipse.rse in plugins/
, it's working now.
多亏了这个话题,我才明白这是插件RSE
,但我也无法卸载Remote System Explorer
插件工具。我必须删除所有名称以 org.eclipse.rse 开头的插件,plugins/
现在可以使用了。
回答by user1484745
Close the Git-Staging View !
关闭 Git 暂存视图!
I had the same Problem on my Eclipse 4.3 Kepler. After removing (closing) the Git-Staging View the Problem was resolved !
我在 Eclipse 4.3 Kepler 上遇到了同样的问题。删除(关闭)Git-Staging 视图后,问题解决了!
回答by diggersworld
I'm having this issue also.
我也有这个问题。
I have found that the operation is part of the Remote System Explorer
plugin which comes packaged with SpringSource 3.3 (Kepler)
. Trying to figure out how to uninstall it now. Will post back here once I find it.
我发现该操作是Remote System Explorer
随SpringSource 3.3 (Kepler)
. 现在正在想办法卸载它。找到后会发回这里。
Information on how to install can be found here (step 3): http://www.patrickjwaters.com/blog/2011-07-24/how-setup-eclipse-php-pdt-remote-system-explorer-theme-manager-and-drupal-plugins/35
可以在此处找到有关如何安装的信息(第 3 步):http: //www.patrickjwaters.com/blog/2011-07-24/how-setup-eclipse-php-pdt-remote-system-explorer-theme- manager-and-drupal-plugins/35
As for uninstall I'm still trying (the option to uninstall is greyed out for me in the installation details panel).
至于卸载,我仍在尝试(卸载选项在安装详细信息面板中对我来说是灰色的)。
I've tried Windows > Preferences > Remote Systems
, setting everything to false but the problem still occurred.
我试过了Windows > Preferences > Remote Systems
,将所有内容都设置为false,但问题仍然存在。
Solution
We've since moved to a Vanilla install of Eclipse Kepler and just added the plugins we require (excluding Remote System Explorer). This has fixed the issue.
解决方案
我们已经转移到 Eclipse Kepler 的 Vanilla 安装,只是添加了我们需要的插件(不包括远程系统资源管理器)。这已经解决了这个问题。
回答by PJA
I have experienced "Remote System Explorer Operation" tasks running on resource save.
我经历过在资源保存时运行的“远程系统资源管理器操作”任务。
Kepler + AspectJ + SpringSource In my case, it was caused by invalid aspectj pointcut definitions. I had 30 pointcuts and 4 of them referenced a deleted class. I have noticed blinking Spring AOP markers.
Kepler + AspectJ + SpringSource 就我而言,这是由无效的 aspectj 切入点定义引起的。我有 30 个切入点,其中 4 个引用了已删除的类。我注意到闪烁的 Spring AOP 标记。
After I have fixed the pointcuts, the freezing stopped.
在我修复了切入点后,冻结停止了。
回答by user3418049
I think I may have found a work-around for this issue...
我想我可能已经找到了解决这个问题的方法......
- If the window pops up, close it then click the Stop button at the bottom
- Uncheck "Build Automatically" under Project
- Project | Build Project
- Check "Build Automatically"
- 如果弹出窗口,关闭它,然后单击底部的停止按钮
- 取消选中项目下的“自动构建”
- 项目 | 构建项目
- 勾选“自动构建”
Now, try what you were doing again.
现在,再次尝试你正在做的事情。
回答by Darryl Miles
Window -> Show View -> Other... -> Remote System Details (or maybe Remote Systems)
Window -> Show View -> Other... -> Remote System Details (or maybe Remote Systems)
This is with Eclipse 4.3 Kepler (2013/2014)
这是 Eclipse 4.3 Kepler (2013/2014)
Find the all non-LOCAL items and Delete them. I could not see any DISABLE function.
找到所有非本地项目并删除它们。我看不到任何 DISABLE 功能。
For me this seems to stop the extra 1 to 3 second delay (on Intel i7 box) when saving with editor and an auto-build completes.
对我来说,当使用编辑器保存和自动构建完成时,这似乎停止了额外的 1 到 3 秒延迟(在 Intel i7 盒上)。
http://forum.spring.io/forum/spring-projects/springsource-tool-suite/128402-sts-3-3-0-m2-and-remote-system-explorer-poor-performanceshints that STS 3.4M1+ might alleviate the problems, I have not yet tried this as I only run GA releases so will try when Kepler SR1 comes out in 7 days from now.
http://forum.spring.io/forum/spring-projects/springsource-tool-suite/128402-sts-3-3-0-m2-and-remote-system-explorer-poor-performances暗示 STS 3.4M1+可能会缓解这些问题,我还没有尝试过,因为我只运行 GA 版本,所以我会在 7 天后 Kepler SR1 发布时尝试。
回答by mehdi mohammadi
回答by Kobi M
I was also experienced multiple remote system explorer operations while compiling a C++ project in eclipse (I'm using Nsight bu nvidia - eclipse based platform). After i did all the suggested solutions here, I still had the problem.
在 eclipse 中编译 C++ 项目时,我还经历了多次远程系统资源管理器操作(我使用的是 Nsight bu nvidia - 基于 eclipse 的平台)。在我完成了所有建议的解决方案之后,我仍然遇到了问题。
BUT- when i changed the -Wall
option to -w
option for the gcc compiler the problem disappeared.
但是- 当我将-Wall
选项更改-w
为 gcc 编译器的选项时,问题就消失了。
GO TO- Project Properties -> Build-> Settings -> Tool settings tab-> gcc compiler -> warnings -> uncheck -Wall
and check -w
转到- 项目属性 -> 构建 -> 设置 -> 工具设置选项卡 -> gcc 编译器 -> 警告 -> 取消选中-Wall
并选中-w
The same goes for G++ Compiler.
G++ 编译器也是如此。