Since version 12.0.0: The file
/Applications/IntelliJ Idea XX.app/bin/idea.vmoptions
or /Applications/IntelliJ Idea CE XX.app/bin/idea.vmoptions
should be copied to ~/Library/Preferences/IntelliJIdeaXX/idea.vmoptions
or ~/Library/Preferences/IdeaICXX/idea.vmoptions
Since version 14.0.0:
The file /Applications/IntelliJ Idea XX.app/Contents/bin/idea.vmoptions
or /Applications/IntelliJ Idea CE XX.app/Contents/bin/idea.vmoptions
should be copied to ~/Library/Preferences/IntelliJIdeaXX/idea.vmoptions
or ~/Library/Preferences/IdeaICXX/idea.vmoptions
For the older versions, the settings are stored in
/Applications/IntelliJ IDEA .app/Contents/Info.plist
.
The final file should look like:
-Xms128m
-Xmx2048m
-XX:MaxPermSize=350m
-XX:ReservedCodeCacheSize=64m
-XX:+UseCodeCacheFlushing
-XX:+UseCompressedOops
reference:
https://www.jetbrains.com/idea/help/tuning-intellij-idea.html
http://stackoverflow.com/questions/13578062/how-to-increase-ide-memory-limit-in-intellij-idea-on-mac
沒有留言:
張貼留言