本文介绍了Phpstorm超慢-282.8%CPU使用率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在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!

  1. Phpstorm在启动过程中非常慢.
  2. 执行SVN提交需要5分钟,并使CPU从182.3%降至192%.
  3. 编辑像 Hello World 这样的简单HTML行仅需输入第一个开始字符<"就需要5到7秒.
  1. Phpstorm is terribly slow during startup.
  2. Doing an SVN commit take 5 minutes and keep CPU from 182.3% to 192%.
  3. 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.

P.s.同一工作站上的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.

无论如何,文件"->使缓存无效/重新启动"解决了我的问题.

In any case, File -> Invalidate Caches / Restart solved my issue.

这篇关于Phpstorm超慢-282.8%CPU使用率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 22:51