Mac OS 10.7 Lion 下 Eclipse 中断

发布于 2024-12-21 15:00:00 字数 307 浏览 7 评论 0原文

我不久前升级到 Mac OS 10.7 Lion,尽管 Eclipse(面向 Web 开发人员的 Eclipse Java EE IDE,版本:Helios Service Release 2)运行良好,但有两件事进展非常缓慢:

  • 创建一个新项目过去需要几秒钟,现在大约需要1.5分钟。
  • 时不时地,当保存我的课程时,一切都会停止,并且旋转的等待光标会出现大约 1 分钟。在此期间,活动监视器将 Eclipse 标记为“无响应”。

我有最新的 Eclipse 更新。有谁知道什么可能导致这种行为?

谢谢, 麦克风

I upgraded to Mac OS 10.7 Lion a while ago, and although Eclipse (Eclipse Java EE IDE for Web Developers, Version: Helios Service Release 2) works fine two things go very slow:

  • Creating a new project used to take a few seconds, now it takes about 1.5 minutes.
  • Every now and then when saving my classes everything stops, and the spinning wait cursor appears for about 1 minute. The Activity monitor labels Eclipse as "not responding" during that time.

I have the latest Eclipse update. Does anybody know what could cause this behavior?

Thanks,
Mike

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

ι不睡觉的鱼゛ 2024-12-28 15:00:00

尝试清理 Eclipse,在 Eclipse 安装目录中从命令行运行此命令:

./eclipse -clean -vmargs -XstartOnFirstThread

Try cleaning Eclipse, run this from the command line, in the directory where Eclipse is installed:

./eclipse -clean -vmargs -XstartOnFirstThread
千寻… 2024-12-28 15:00:00

尝试添加更多堆空间。在安装中的 eclipse.ini 文件中增加最大堆 (-Xmx)。您可能已接近内存限制,因此垃圾收集过多。

Try adding more heap space. In your eclipse.ini file in the installation increase the max heap (-Xmx). It's likely you are near the limit of the memory, so it's excessively garbage collecting.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文