How to increase the memory heap size on IntelliJ IDEA?

前端 未结 7 1432
半阙折子戏
半阙折子戏 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:37

    For 64-bit Windows, make sure to run idea in 64 bit mode(idea64.exe) and change settings in "C:\Program Files (x86)\JetBrains\IntelliJ IDEA 15.0.1\bin\idea64.exe.vmoptions" file. These settings works fine for me

    -Xms512m
    -Xmx2024m
    -XX:MaxPermSize=700m
    -XX:ReservedCodeCacheSize=480m
    

提交回复
热议问题