Intellij Idea 2017没有阅读idea64.vmoptions [英] Intellij Idea 2017 not reading idea64.vmoptions
问题描述
使用Ubuntu,我有intellij 2016和intellij 2017.我在相应的文件夹中配置idea64.vmoptions:〜/ .IntelliJIdea2016.3 /
和 /。IntelliJIdea2017.2
。对于我都升级了内存大小。 2016版本读取此值(正如我在内存指标中看到的),2017版本没有。我尝试了一切。
Using Ubuntu, i have both intellij 2016 and intellij 2017. I configure idea64.vmoptions for both in the respective folder: ~/.IntelliJIdea2016.3/
and /.IntelliJIdea2017.2
. for both i upgraded the memory size. while 2016 version reads this value (as i see in the memory indicator), 2017 versions doesn't. I tried everything.
这是idea64.vmoptions:
this is idea64.vmoptions:
-Xms2128m
-Xmx2750m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-Dawt.useSystemAAFontSettings=lcd
-Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine
推荐答案
而不是尝试要在文件系统上找到正确的文件,您可以在IDE中从菜单项中执行此操作:
Rather than attempting to find the correct file on the file system you can do this from within the IDE from the menu item:
帮助>编辑自定义VM选项
这将显示实际使用的 vmoptions
文件允许您在IDE中编辑它。完成编辑后,只需重新启动IntelliJ,您就会看到更改生效。
This will present the vmoptions
file which is actually in use allowing your to edit it within the IDE. Once you have completed your edit, just restart IntelliJ and you'll see the changes take effect.
docs 。
这篇关于Intellij Idea 2017没有阅读idea64.vmoptions的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!