简体   繁体   English

IntelliJ Build 181.5281.24消耗了超过1GB的RAM

[英]IntelliJ Build 181.5281.24 consumes more than 1GB of RAM

I am using IntelliJ build 181.5281.24 for Java development and it consumes more than 1GB of memory (of my 4-GB RAM computer). 我正在使用IntelliJ build 181.5281.24进行Java开发,它消耗了超过1GB的内存(我的4 GB RAM计算机)。 It constantly freezes and becomes quite difficult to use at times. 它不断冻结,有时变得很难使用。

I tried out a solution given here IntelliJ 15 Works Slow and eats 1GB of RAM but I am not sure of the plugins to uninstall or disable owing to the fact that some of them could be necessary for the normal running of the IDE? 我尝试了此处提供的解决方案IntelliJ 15 Works Slow,并占用了1GB的RAM,但是由于某些插件对于IDE的正常运行是必需的,因此我不确定要卸载还是禁用这些插件? Another solution altogether would be much appreciated. 完全可以理解另一种解决方案。

Some observations: 一些观察:

  • Yes, IntelliJ requires a lot of memory. 是的,IntelliJ需要大量内存。 It is a powerful tool, and I just checked ... 850 MB, 5 seconds after launch and still increasing. 它是一个功能强大的工具,我刚刚检查了一下... 850 MB,启动后5秒仍在增加。 Which is no surprise, as I have really large projects. 这并不奇怪,因为我有很多大型项目。
  • I am running the free edition, without any specific plugins installed. 我正在运行免费版,没有安装任何特定的插件。

Leading to real answer: a development machine in 2018 needs to be equipped with way more than 4 GB of memory. 真正的答案:2018年的开发机器需要配备4 GB以上的内存。

Seriously: the answer here is not to spend many hours to fine tune IntelliJ to work for you (with halfway acceptable performance). 认真地说:这里的答案是不要花费很多时间来调整IntelliJ为您工作(具有可接受的一半性能)。 Instead, your option space boils down to: 相反,您的选项空间可以归结为:

  • Adding memory to your machine, or to buy a new one with at least 8 to 16 GB 在计算机上添加内存,或购买至少8至16 GB的新内存
  • Not using a fully fledged IDE such as IntelliJ (maybe BlueJ could do, or editors such as Atom) 不使用像IntelliJ这样的成熟IDE(也许BlueJ可以这样做,或者像Atom这样的编辑器)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM