我的G4上的Eclipse性能是可怕的 - 对替换的任何想法?

时间:2021-02-21 15:37:53

I have a 5yr old G4 PowerBook that I use while travelling, and I had intended to get some work done whilst I am away for the next few weeks.

我有一个5英尺的G4 PowerBook,我在旅行时使用,而且我打算在接下来几周离开时完成一些工作。

Eclipse just seems to be horrendously slow on it. I've tried tweaking the memory allocated to the VM, but it doesn't seem to do very much :)

Eclipse看起来似乎非常缓慢。我已经尝试调整分配给VM的内存,但它似乎没有做太多:)

Any thoughts as to why it's so slow? I don't get this problem on my desktop - and that has less RAM, although it's running Linux.

有什么想法为什么这么慢?我没有在我的桌面上遇到这个问题 - 虽然它运行的是Linux,但内存较少。

If I'm flogging a dead horse, what would you recommend as a Java development environment?

如果我鞭打死马,你会推荐什么作为Java开发环境?

Ideally, I would want good code completion, as my mental capacity is somewhat limited :)

理想情况下,我希望良好的代码完成,因为我的心智能力有限:)


Thank you all kindly for your responses. I've just set-up netbeans on the laptop, removed some of the cruft, and imported my project. After taking about half an hour scanning the project (there are a ton of external libraries) I am pleased to say that it is very responsive. Code completion is working nicely (although not quite as intuitive as eclipse). Unfortunately, I seem to be able to only select one of your answers - although i'll be using many of them. A new laptop is on the cards for when I get back from my trip.

非常感谢您的回复。我刚刚在笔记本电脑上设置了netbeans,删除了一些,并导入了我的项目。在花了大约半个小时扫描项目(有大量的外部库)后,我很高兴地说它非常敏感。代码完成工作得很好(尽管不像eclipse那么直观)。不幸的是,我似乎只能选择你的一个答案 - 虽然我将使用其中许多答案。当我从旅行中回来时,一台新的笔记本电脑正在上面。

10 个解决方案

#1


I've been using Eclipse for years, and I found that it never ran acceptably fast on my Mac until I got Ganymede (Eclipse 3.4) and ran it on my Core 2 Duo Macbook w/ 2GB of RAM. Before I had both of those things, it was only ever bearable on Linux or Windows. I'd recommend upgrading your computer. :-) Eclipse is, after all, a beast of a program no matter how you spin it.

我已经使用Eclipse多年了,我发现它在我的Mac上从未跑得很快,直到我得到Ganymede(Eclipse 3.4)并且在我的Core 2 Duo Macbook上运行它有2GB的RAM。在我拥有这两件事之前,它在Linux或Windows上都是可以忍受的。我建议升级你的电脑。 :-)毕竟,Eclipse是一个程序的野兽,无论你如何旋转它。

#2


I've found two primary limiters to Eclipse performance:

我发现了Eclipse性能的两个主要限制因素:

  1. Available RAM (2GB is a minimum on a Windows PC)
  2. 可用内存(Windows PC上最低2GB)

  3. Hard drive speed (I've had lots of issues with slow and/or highly fragmented drives.)
  4. 硬盘速度(我在驱动速度慢和/或高度分散的问题上遇到了很多问题。)

Laptops have notoriously slow drives - and it's often compounded by the drive going into "power save" mode (thus spinning more slowly.)

笔记本电脑的驱动器速度非常慢 - 而且驱动器进入“省电”模式(因此旋转速度更慢)往往更加复杂。

We also used to run Eclipse on top of ClearCase dynamic views....talk about a performance beast....

我们还习惯在ClearCase动态视图之上运行Eclipse ....谈论性能野兽....

It may also be worth your time to trim down Eclipse (disabling unneeded plugins and the like.) Click "Help"->"Manage Configuration" to get to the interface where you can do this. The Eclipse distributions come with lots and lots of powerful tools - many of which most of us never use.

还可能值得花时间削减Eclipse(禁用不需要的插件等)。单击“帮助” - >“管理配置”以进入可以执行此操作的界面。 Eclipse发行版附带了许多强大的工具 - 其中许多工具从未使用过。

#3


If you are worried about speed use something like vim or textmate.

如果你担心速度使用像vim或textmate这样的东西。

Otherwise you have to realize, Eclipse comes with a LOT built in with it, hence the long loading time. If you find yourself not using most of its features then just use a text editor.

否则你必须意识到,Eclipse带有一个内置的LOT,因此加载时间很长。如果您发现自己没有使用其大部分功能,那么只需使用文本编辑器即可。

Neatbeans is supposedly more light weight.

据说Neatbeans的重量更轻。

#4


I love IntelliJ from JetBrains.

我喜欢JetBrains的IntelliJ。

I used Eclipse for four years and loved it. But since I was shown IntelliJ I've never gone back. I feel strongly enough where I pony up the cash to buy a personal license. Worth every cent.

我使用Eclipse已经四年并且喜欢它。但是自从我看到IntelliJ后,我再也没有回去过。我非常感觉能够将现金用于购买个人许可证。值得每一分钱。

#5


In my experience Java is just not that responsive on the Mac. A fairly fresh Eclipse on my 3 GB MBP feels slower than my work machine, which is 2 GB Dell D620 with lots of projects.

根据我的经验,Java在Mac上的响应速度不大。我的3 GB MBP上的一个相当新鲜的Eclipse比我的工作机器慢,这是2 GB戴尔D620和许多项目。

Want to try a crazy idea? Install linux on your PB G4 and try running Eclipse in that. Worth a shot.

想尝试一个疯狂的想法?在你的PB G4上安装linux并尝试运行Eclipse。值得一试。

#6


I would recommend giving IntelliJ a try. It might run a bit faster for you, so it's worth a try. It's made by JetBrains, the same company that makes ReSharper and TeamCity. (If you like it you can buy it... it's free to try).

我建议尝试一下IntelliJ。它可能会让你跑得快一些,所以值得一试。它由JetBrains制造,与制造ReSharper和TeamCity的公司相同。 (如果你喜欢它,你可以买它......它可以免费试用)。

http://www.jetbrains.com/idea/

Good luck with your quest!

祝你好运!

#7


Eclipse is a one of the best IDEs for Java. What is the configuration of your G4? One thing you can do to make things snappier is disable automatic building in the background. You can do this by unchecking Project->Build Automatically. Doing so will prevent eclipse from continuously building in the background and it will be more responsive to your editing needs. Also if you are using the web development plugin you can disable jsp and xml validation.

Eclipse是Java的最佳IDE之一。 G4的配置是什么?让事情变得更加快捷的一件事就是在后台禁用自动构建。您可以通过取消选中Project-> Build Automatically来完成此操作。这样做可以防止eclipse在后台持续构建,并且可以更好地响应您的编辑需求。此外,如果您使用的是Web开发插件,则可以禁用jsp和xml验证。

#8


I like Netbeans, it is relatively small and fast but since Oracle is now the owner of Sun I don´t know about the future of it.

我喜欢Netbeans,它相对较小而且速度快但是由于Oracle现在是Sun的所有者,我不知道它的未来。

#9


I've had that problem a few times. I've found that some systems that run Eclipse like a pig do well with Aptana or NetBeans. I'd try those first, as they are both pretty powerful.

我有几次这个问题。我发现一些像猪一样运行Eclipse的系统与Aptana或NetBeans相处得很好。我先试试这些,因为它们都非常强大。

#10


I would definitely not recommend IntelliJ Idea if speed is your overriding concern. I personally find it just as slow, if not slower than eclipse... It too is a dog.

如果速度是你最重要的考虑因素,我绝对不会推荐IntelliJ Idea。我个人觉得它同样慢,如果不比日食慢......它也是一只狗。

By way of example - If idea crashes, which it generally does on a daily basis, then all projects must be re-indexed (a lengthy process) whether open at the time or not; an excruciating process, especially on sub-optimal boxes. The kicker is that it also re-indexes the entire JDK at the same time.

举例来说 - 如果想法崩溃,它通常每天都会这样做,那么所有项目必须重新编制索引(一个漫长的过程),无论是否在当时打开;令人难以忍受的过程,特别是在次优箱子上。踢球者是它同时重新索引整个JDK。

I think it sad indictment of desktop java on the whole that a decent, powerful IDE cannot, it seems, be implemented on top of it offering anywhere near acceptable performance.

我认为桌面java总体而言令人遗憾的是,一个像样的,功能强大的IDE似乎无法在其上实现接近可接受的性能。

I've worked with netbeans, eclipse, idea and also with visual studio. The performance comparison between the former 3 and the latter is striking!

我曾与netbeans,eclipse,idea以及visual studio合作过。前者3和后者之间的性能比较惊人!

#1


I've been using Eclipse for years, and I found that it never ran acceptably fast on my Mac until I got Ganymede (Eclipse 3.4) and ran it on my Core 2 Duo Macbook w/ 2GB of RAM. Before I had both of those things, it was only ever bearable on Linux or Windows. I'd recommend upgrading your computer. :-) Eclipse is, after all, a beast of a program no matter how you spin it.

我已经使用Eclipse多年了,我发现它在我的Mac上从未跑得很快,直到我得到Ganymede(Eclipse 3.4)并且在我的Core 2 Duo Macbook上运行它有2GB的RAM。在我拥有这两件事之前,它在Linux或Windows上都是可以忍受的。我建议升级你的电脑。 :-)毕竟,Eclipse是一个程序的野兽,无论你如何旋转它。

#2


I've found two primary limiters to Eclipse performance:

我发现了Eclipse性能的两个主要限制因素:

  1. Available RAM (2GB is a minimum on a Windows PC)
  2. 可用内存(Windows PC上最低2GB)

  3. Hard drive speed (I've had lots of issues with slow and/or highly fragmented drives.)
  4. 硬盘速度(我在驱动速度慢和/或高度分散的问题上遇到了很多问题。)

Laptops have notoriously slow drives - and it's often compounded by the drive going into "power save" mode (thus spinning more slowly.)

笔记本电脑的驱动器速度非常慢 - 而且驱动器进入“省电”模式(因此旋转速度更慢)往往更加复杂。

We also used to run Eclipse on top of ClearCase dynamic views....talk about a performance beast....

我们还习惯在ClearCase动态视图之上运行Eclipse ....谈论性能野兽....

It may also be worth your time to trim down Eclipse (disabling unneeded plugins and the like.) Click "Help"->"Manage Configuration" to get to the interface where you can do this. The Eclipse distributions come with lots and lots of powerful tools - many of which most of us never use.

还可能值得花时间削减Eclipse(禁用不需要的插件等)。单击“帮助” - >“管理配置”以进入可以执行此操作的界面。 Eclipse发行版附带了许多强大的工具 - 其中许多工具从未使用过。

#3


If you are worried about speed use something like vim or textmate.

如果你担心速度使用像vim或textmate这样的东西。

Otherwise you have to realize, Eclipse comes with a LOT built in with it, hence the long loading time. If you find yourself not using most of its features then just use a text editor.

否则你必须意识到,Eclipse带有一个内置的LOT,因此加载时间很长。如果您发现自己没有使用其大部分功能,那么只需使用文本编辑器即可。

Neatbeans is supposedly more light weight.

据说Neatbeans的重量更轻。

#4


I love IntelliJ from JetBrains.

我喜欢JetBrains的IntelliJ。

I used Eclipse for four years and loved it. But since I was shown IntelliJ I've never gone back. I feel strongly enough where I pony up the cash to buy a personal license. Worth every cent.

我使用Eclipse已经四年并且喜欢它。但是自从我看到IntelliJ后,我再也没有回去过。我非常感觉能够将现金用于购买个人许可证。值得每一分钱。

#5


In my experience Java is just not that responsive on the Mac. A fairly fresh Eclipse on my 3 GB MBP feels slower than my work machine, which is 2 GB Dell D620 with lots of projects.

根据我的经验,Java在Mac上的响应速度不大。我的3 GB MBP上的一个相当新鲜的Eclipse比我的工作机器慢,这是2 GB戴尔D620和许多项目。

Want to try a crazy idea? Install linux on your PB G4 and try running Eclipse in that. Worth a shot.

想尝试一个疯狂的想法?在你的PB G4上安装linux并尝试运行Eclipse。值得一试。

#6


I would recommend giving IntelliJ a try. It might run a bit faster for you, so it's worth a try. It's made by JetBrains, the same company that makes ReSharper and TeamCity. (If you like it you can buy it... it's free to try).

我建议尝试一下IntelliJ。它可能会让你跑得快一些,所以值得一试。它由JetBrains制造,与制造ReSharper和TeamCity的公司相同。 (如果你喜欢它,你可以买它......它可以免费试用)。

http://www.jetbrains.com/idea/

Good luck with your quest!

祝你好运!

#7


Eclipse is a one of the best IDEs for Java. What is the configuration of your G4? One thing you can do to make things snappier is disable automatic building in the background. You can do this by unchecking Project->Build Automatically. Doing so will prevent eclipse from continuously building in the background and it will be more responsive to your editing needs. Also if you are using the web development plugin you can disable jsp and xml validation.

Eclipse是Java的最佳IDE之一。 G4的配置是什么?让事情变得更加快捷的一件事就是在后台禁用自动构建。您可以通过取消选中Project-> Build Automatically来完成此操作。这样做可以防止eclipse在后台持续构建,并且可以更好地响应您的编辑需求。此外,如果您使用的是Web开发插件,则可以禁用jsp和xml验证。

#8


I like Netbeans, it is relatively small and fast but since Oracle is now the owner of Sun I don´t know about the future of it.

我喜欢Netbeans,它相对较小而且速度快但是由于Oracle现在是Sun的所有者,我不知道它的未来。

#9


I've had that problem a few times. I've found that some systems that run Eclipse like a pig do well with Aptana or NetBeans. I'd try those first, as they are both pretty powerful.

我有几次这个问题。我发现一些像猪一样运行Eclipse的系统与Aptana或NetBeans相处得很好。我先试试这些,因为它们都非常强大。

#10


I would definitely not recommend IntelliJ Idea if speed is your overriding concern. I personally find it just as slow, if not slower than eclipse... It too is a dog.

如果速度是你最重要的考虑因素,我绝对不会推荐IntelliJ Idea。我个人觉得它同样慢,如果不比日食慢......它也是一只狗。

By way of example - If idea crashes, which it generally does on a daily basis, then all projects must be re-indexed (a lengthy process) whether open at the time or not; an excruciating process, especially on sub-optimal boxes. The kicker is that it also re-indexes the entire JDK at the same time.

举例来说 - 如果想法崩溃,它通常每天都会这样做,那么所有项目必须重新编制索引(一个漫长的过程),无论是否在当时打开;令人难以忍受的过程,特别是在次优箱子上。踢球者是它同时重新索引整个JDK。

I think it sad indictment of desktop java on the whole that a decent, powerful IDE cannot, it seems, be implemented on top of it offering anywhere near acceptable performance.

我认为桌面java总体而言令人遗憾的是,一个像样的,功能强大的IDE似乎无法在其上实现接近可接受的性能。

I've worked with netbeans, eclipse, idea and also with visual studio. The performance comparison between the former 3 and the latter is striking!

我曾与netbeans,eclipse,idea以及visual studio合作过。前者3和后者之间的性能比较惊人!