且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Intellij idea堆大小无法更改

更新时间:2023-09-18 08:46:04

较新版本的IDEA对vm选项使用不同的文件.旧版本曾经使用C:\ Program Files \ JetBrains \ IntelliJ IDEA {version} \ bin \ idea64.exe.vmoptions,但现在这些配置存在于C:\ Users {user} .IntelliJIdea {version} \ config \ idea64.exe中.vmoptions.

Newer versions of IDEA use a different file for vm options. Older versions used to use C:\Program Files\JetBrains\IntelliJ IDEA {version}\bin\idea64.exe.vmoptions but now these configurations exist in C:\Users{user}.IntelliJIdea{version}\config\idea64.exe.vmoptions.

您可以从IntelliJ转到此文件. 在帮助"菜单上,单击编辑自定义VM选项".然后重新启动IDEA,它应该会更新.

You can get to this file from IntelliJ. On the Help menu, click Edit Custom VM Options. Then restart IDEA and it should update.

注意:右下角显示的值似乎与您在配置文件中指定的值完全不匹配.不知道为什么.

Note: It doesn't look like the value displayed in the bottom right will exactly match what you specify in the config file. Not sure why.

另请参阅:如何增加内存堆IntelliJ IDEA的大小?