Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/performance/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Performance 如何提高IDEA绩效?_Performance_Ide_Intellij Idea_Pycharm - Fatal编程技术网

Performance 如何提高IDEA绩效?

Performance 如何提高IDEA绩效?,performance,ide,intellij-idea,pycharm,Performance,Ide,Intellij Idea,Pycharm,我喜欢JetBrains的IDE,大多数其他IDE。我经常使用IDEA和PyCharm,当我和他们一起工作时,我会花很多时间等待IDEA的不同任务。 那么,有什么技巧可以提高IDEA和PyCharm的性能吗?如果IntelliJ IDEA存在性能问题,请参阅和说明。更改中的内存大小 <YOUR IDEA HOME>/bin/idea.vmoptions /bin/idea.vmoptions 或者 /bin/idea64.vmoptions 如果您的想法是在64位机器上运行。在

我喜欢JetBrains的IDE,大多数其他IDE。我经常使用IDEA和PyCharm,当我和他们一起工作时,我会花很多时间等待IDEA的不同任务。
那么,有什么技巧可以提高IDEA和PyCharm的性能吗?

如果IntelliJ IDEA存在性能问题,请参阅和说明。

更改中的内存大小

<YOUR IDEA HOME>/bin/idea.vmoptions
/bin/idea.vmoptions
或者

/bin/idea64.vmoptions

如果您的想法是在64位机器上运行。

在我的情况下,该IDE以前太慢了

然后,我试着做一些改变

在设置页面:文件-设置…

在外观上,这是我的配置:

在插件上,尝试停用未使用的插件:

在更新时,我关闭更新:

我使用64位Windows7

我转到:
C:\Program Files\JetBrains\IntelliJ IDEA 2018.2.4\bin

使用文本编辑器打开
idea64.exe.vmoptions
,并更改
-Xmx
-Xms

这是我的新
idea64.exe.vmoptions
config:

-Xms1024m
-Xmx2048m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Djdk.http.auth.tunneling.disabledSchemes=""
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
说明(官方):

-Xmx限制JVM可以为运行IntelliJ IDEA分配的最大内存堆大小。默认值取决于平台。如果正在经历减速,可能需要增加此值,例如,要将该值设置为2048 MB,请将此选项更改为-Xmx2048m

-Xms指定JVM为运行IntelliJ IDEA分配的初始内存。默认值取决于平台。它通常设置为最大允许内存(-Xmx)的一半左右,例如,-Xms1024m

现在就这些


谢谢

您已经检查过了吗?还没有,请参阅thnx。我现在就看。你能添加你的帖子作为答案吗?
-Xms1024m
-Xmx2048m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Djdk.http.auth.tunneling.disabledSchemes=""
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow