How to give more memory to IntelliJ Idea 9-11

前端 未结 7 1844
生来不讨喜
生来不讨喜 2021-01-31 14:23

This concerns Intellij from 9 to 11. In the IDEA window On the bottom right corner I see the current memory usage, typically \"224M of 254M\" How do I give more memory to Idea s

相关标签:
7条回答
  • 2021-01-31 14:53

    On windows 7 (64-bits).

    In the folder : C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 13.0\bin

    There is a file named : idea64.exe.vmoptions

    -Xms128m
    -Xmx750m
    -XX:MaxPermSize=350m
    -XX:ReservedCodeCacheSize=96m
    -ea
    -Dsun.io.useCanonCaches=false
    -Djava.net.preferIPv4Stack=true
    -XX:+UseCodeCacheFlushing
    -XX:+UseConcMarkSweepGC
    -XX:SoftRefLRUPolicyMSPerMB=50
    

    Beware that if the underlying JVM used is 32-bits, the maximum memory is still somewhere below 2048Mb

    0 讨论(0)
提交回复
热议问题