On El Capitan (osx) here with the following in ~/Library/Preferences/IntelliJIdea2016.2/idea.vmptions
:
-Xms1280m
-Xmx2000m
-XX:MaxPermSize=512m
-XX:ReservedCodeCacheSize=128m
-XX:+UseCompressedOops
-Dide.mac.file.chooser.native=false
However upon restarting Intellij we see the following setting: -Xmx768m
. So IJ is ignoring the idea.vmptions
file .. ? What is the proper procedure to update those VM settings?
Update I also tried changing the values in
sudo vi /Applications/IntelliJ\ IDEA.app/Contents/bin/idea.vmoptions
That also had no effect: still the same -Xmx768m shows up under ps -ef | grep ntellij
Update The answer from @morfic inroduced a capability from Intelli to use Help | Edit custom VM options
. However the values shown there are identical to the ones above (e.g. -Xmx2000m) and not respected.