How to increase the memory heap size on IntelliJ IDEA?

前端 未结 7 1427
半阙折子戏
半阙折子戏 2020-12-01 13:47

I want to allocate around 1GB of heap size, but I can\'t seem to figure it out.

How to do this?

7条回答
  •  情话喂你
    2020-12-01 14:27

    go to that path "C:\Program Files (x86)\JetBrains\IntelliJ IDEA 12.1.4\bin\idea.exe.vmoptions" and change size to -Xmx512m

      -Xms128m
      -Xmx512m
      -XX:MaxPermSize=250m
      -XX:ReservedCodeCacheSize=64m
      -XX:+UseCodeCacheFlushing
      -ea
      -Dsun.io.useCanonCaches=false
      -Djava.net.preferIPv4Stack=true
    

    hope its will work

提交回复
热议问题