IntelliJ IDEA 13 CE消耗大量CPU [英] IntelliJ IDEA 13 CE consuming lots of CPU
问题描述
我几天前从IntelliJ IDEA从12 CE升级到13 CE,它一直在占用CPU。每隔几分钟它就会达到450-500%的高峰,然后降到100-200%。此外,我已将我的Scala插件升级到0.30.380。不确定是什么导致了这个问题!?
I upgraded from IntelliJ IDEA from 12 CE to 13 CE few days ago and it has been hogging up CPU. Every few minutes it'll peak to 450-500% and then come down to 100-200%. Also, I've upgraded my Scala plugin to 0.30.380. Not sure what's causing the issue!?
推荐答案
我发布此评论由KP作为答案,因为KP没有足够的声誉。
I'm posting this comment by K P as an answer, because K P does not have enough reputation.
它只需要更多的内存来防止重复的垃圾收集。我找到了文件idea.vmoptions [aka idea64.exe.vmoptions]并增加了运行InteiiJ的内存(Xms = 512m和Xmx = 2048)。当没有任何操作时,CPU使用率降至0.2-10%。
It just needed some more memory to prevent repeated garbage collection. I found the file idea.vmoptions [aka idea64.exe.vmoptions] and increased the memory for InteiiJ to run (Xms = 512m and Xmx = 2048). The CPU usage has come down to 0.2 - 10% when nothing is being done on it.
这篇关于IntelliJ IDEA 13 CE消耗大量CPU的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!