Eclipse 3.5 64 位性能 Windows 7

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1412220/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 13:07:17  来源:igfitidea点击:

Eclipse 3.5 64-bit Performance Windows 7

windowseclipseperformance64-bit

提问by fnst

I installed Eclipse Galileo and after trouble with the JDK, its starting well. But I have big problems with performance. Every third second, Eclipse is hanging for a while. It runs not smoothly. I need a efficient IDE as Eclipse for work. So, it would be very nice when you have a fast answer :)

我安装了 Eclipse Galileo,在 JDK 出现问题后,它的启动很好。但是我在性能方面有很大的问题。每隔三秒,Eclipse 就会挂起一段时间。它运行不顺利。我需要一个高效的 IDE 作为 Eclipse 来工作。所以,当你有一个快速的答案时会非常好:)

Both Eclipse as the JDK are 64-bit versions.

Eclipse 和 JDK 都是 64 位版本。

Have you any ideas?

你有什么想法吗?

Update:

更新

I can′t really explain the problem from scratch. But in my case, it was a trouble between Eclipse′s and the auto-complete-function of my OSK. If I disabled auto-complete, there was no hangs anymore. I don't know why the using of the OSK blocks the thread (?) of the whole editor.

我真的无法从头开始解释这个问题。但就我而言,Eclipse 和 OSK 的自动完成功能之间存在问题。如果我禁用了自动完成,就不会再挂起。不知道为什么使用OSK会阻塞整个编辑器的线程(?)。

Maybe anyone of you, has an idea why?

也许你们中的任何人都知道为什么?

采纳答案by fnst

I can′t really explain the problem from scratch. But in my case, it was a trouble between Eclipse′s and the auto-complete-function of my OSK. If I disabled auto-complete, there was no hangs anymore. I don′t know why the using of the OSK blocks the thread (?) of the whole editor.

我真的无法从头开始解释这个问题。但就我而言,Eclipse 和 OSK 的自动完成功能之间存在问题。如果我禁用了自动完成,就不会再挂起。我不知道为什么使用OSK 会阻塞整个编辑器的线程(?)。

Maybe anyone of you, has an idea why?

也许你们中的任何人都知道为什么?

Thanks for any help!

谢谢你的帮助!

回答by Rich Seller

From your description it sounds like the garbage collector is being triggered. How much RAM have you got in the system? Depending on the plugins you're loading Eclipse can need quite a lot of it. I think the bare minimum is 256 Mb, and realistically you need at least 1 Gb, more if you're doing web development

从您的描述来看,似乎正在触发垃圾收集器。你有多少内存在系统中?根据您加载的插件,Eclipse 可能需要相当多的插件。我认为最低限度是 256 Mb,实际上您至少需要 1 Gb,如果您正在进行 Web 开发,则需要更多

Have you got an up-to-date JVM? Eclipse generally runs much quicker with a 1.6 JVM.

你有最新的 JVM 吗?Eclipse 通常使用 1.6 JVM 运行得更快。

One other thing to check, do you have an aggressive virus scanner? Eclipse plugins are collections of small files in jars, some virus scanners can really slow down the performance. If you are able, remove the Eclipse install directory from the scanned files.

另一件事要检查,你有一个积极的病毒扫描程序吗?Eclipse 插件是 jars 中小文件的集合,一些病毒扫描程序确实会降低性能。如果可以,请从扫描的文件中删除 Eclipse 安装目录。

See this EclipseZone articleor this questionfor some general performance tips.

有关一些一般性能提示,请参阅此EclipseZone 文章此问题

回答by JesperE

Run Process Monitorand see what kind of system calls and/or file system calls the JVM is doing. Use filters aggressively to pinpoint a specific process. I had a similar issue where a graphics card utility triggered a flood of registry lookups for every UI update which just made Eclipse incredibly slow. (Somehow SWT was hit exceptionally hard by this bug, I'm not sure why.)

运行Process Monitor并查看 JVM 正在执行哪些类型的系统调用和/或文件系统调用。积极使用过滤器来查明特定过程。我有一个类似的问题,显卡实用程序为每个 UI 更新触发了大量的注册表查找,这使得 Eclipse 非常慢。(不知何故,这个错误对 SWT 造成了极大的打击,我不知道为什么。)

EDIT: I meant "Process Monitor", not "Process Explorer". But the link was correct.

编辑:我的意思是“进程监视器”,而不是“进程资源管理器”。但是链接是正确的。

回答by JRL

You could try to run it from within a virtual machine set up on your computer to see if the problem is still there. If it's not, it might be faster for you to just work from within the virtual machine environment. Doesn't address the issue, but it may help avoid it altogether.

您可以尝试从计算机上设置的虚拟机中运行它,看看问题是否仍然存在。如果不是,那么在虚拟机环境中工作可能会更快。没有解决这个问题,但它可能有助于完全避免它。

回答by Matt

Same problem for me

对我来说同样的问题

I have Windows 7 professional 64 bit and 8gb of RAM

我有 Windows 7 专业版 64 位和 8GB 内存

Eclipse is extremely slow, probably 5 times slower than the Windows Vista 32 bit machine I have recently upgraded from (Europa version) - and that machine was a complete dog!

Eclipse 非常慢,可能比我最近从(欧洲版)升级的 Windows Vista 32 位机器慢 5 倍 - 那台机器是一个完整的狗!

Adding -Xmx1024m -XX:+UseParallelGC -vm C:\Program Files\Java\jdk1.6.0_20\jre\bin\server\jvm.dll has made a pretty big difference

添加 -Xmx1024m -XX:+UseParallelGC -vm C:\Program Files\Java\jdk1.6.0_20\jre\bin\server\jvm.dll 有很大的不同

回答by PAS

I had same problem so I just switched to the 32 bit version of Eclipse and it runs fine with no performance issues.

我遇到了同样的问题,所以我刚刚切换到 32 位版本的 Eclipse,它运行良好,没有性能问题。

回答by Skaria

I have same problem as not respoinding. I searched in internet for a solution. I found one by adding the below to eclipse helios config file. -vm C:\Program Files\Java\jre7\bin\javaw.exe

我有同样的问题,没有回应。我在互联网上搜索了解决方案。我通过将以下内容添加到 eclipse helios 配置文件中找到了一个。-vm C:\Program Files\Java\jre7\bin\javaw.exe

Initially it looks Ok to start and click on the different buttons and running on several files in eclips project. But when I click on debug and step by step process. Then it is again showing not respoding. I have a new laptop win7 installed.

最初看起来可以启动并单击不同的按钮并在 eclips 项目中的多个文件上运行。但是当我点击调试并逐步处理时。然后它再次显示没有重新定位。我安装了一台新的笔记本电脑 win7。

回答by Ant Kutschera

I have the same problems with the 32 bit version, running with a 32 bit JVM.

我在 32 位版本上有同样的问题,在 32 位 JVM 上运行。

It's more that my RCP Application which I developed with Eclipse is slow. I've tried both -Xmx1024m and -XX:+UseParallelGC, with no noticable effect. Has this issue been registed with eclipse.org?

更重要的是我用 Eclipse 开发的 RCP 应用程序很慢。我已经尝试了 -Xmx1024m 和 -XX:+UseParallelGC,但没有明显的效果。此问题是否已在 eclipse.org 上注册?