Phpstorm 超慢 - 282.8% CPU 使用率 [英] Phpstorm superslow - 282.8% CPU usage
问题描述
在 Netbeans 工作了 5 年多之后,我想尝试一下朋友推荐的 Phpstorm.
After working for over 5 years with Netbeans I wanted to give a try with Phpstorm suggested by a friend.
我下载了 Phpstorm 的新副本,并在 IDE 中导入了一个新项目.结果太糟糕了!
I downloaded a fresh copy of Phpstorm and imported in the IDE a fresh project. The result is TERRIBLE!
- Phpstorm 在启动过程中非常慢.
- 执行 SVN 提交需要 5 分钟,并使 CPU 从 182.3% 保持到 192%.
- 编辑像 Hello World 这样的简单 HTML 行需要 5 到 7 秒,只需输入第一个开始字符<".
- Phpstorm is terribly slow during startup.
- Doing an SVN commit take 5 minutes and keep CPU from 182.3% to 192%.
- Editing a simple line of HTML like Hello World take 5 to 7 seconds just to type the first opening character "<".
此外,如果我在配备 8GB RAM 和 2 Core Duo CPU 的 MacPro 工作站上工作,那么在这种情况下工作是一场灾难.
Working in this situation is a disaster moreover if I'm working on a MacPro workstation with 8GB RAM with 2 Core Duo CPU.
我真的不明白是什么导致了这个问题.我附上截图.
I really don't understand what is causing the issue. I attach a screenshot.
附言同一个工作站上的 Netbeans 飞起来了!
P.s. Netbeans on the same workstation is flying!
预先感谢所有帮助和建议
Thanks in advance to all help and suggestion
推荐答案
我最近在处理大量的 git 分支,同事建议我使我的缓存失效 &重新启动 PHPStorm.它似乎有效,但请注意 - 您将丢失本地历史记录.
I've been working on a large number of git branches recently, and a coworker advised me to invalidate my cache & restart PHPStorm. It seems to have worked, but be warned - you will lose your local history.
无论如何,File -> Invalidate Caches/Restart 解决了我的问题.
In any case, File -> Invalidate Caches / Restart solved my issue.
这篇关于Phpstorm 超慢 - 282.8% CPU 使用率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!