This is quite easily done. When you have the IDEA version that is started through a batch file, open the batch file and search for "%IDEA_JVM_ARGS%". Here the JVM parameters are set with which IDEA is started. Two of the options are of interest here : -Xms16m and -Xmx128m. The first one specifies with how much memory IDEA starts and the second specifies up to how much memory IDEA may use. You can for example set them to -Xms516m and -Xmx516m to give IDEA a constant amount of 1/2 GB RAM. This always worked fine for me.
If you use the version with the launcher (idea.exe on Windows) you'll find the same options in the idea.lax. Search for "lax.nl.java.option.additional" to find them.
but how do you do it on Mac OSX? I've seen an idea.plist file, which would normall hold the settings, but altering the settings here makes no noticeable differance to operations.
This is quite easily done.
When you have the IDEA version that is started through a batch file, open the batch file and search for "%IDEA_JVM_ARGS%". Here the JVM parameters are set with which IDEA is started. Two of the options are of interest here : -Xms16m and -Xmx128m. The first one specifies with how much memory IDEA starts and the second specifies up to how much memory IDEA may use. You can for example set them to -Xms516m and -Xmx516m to give IDEA a constant amount of 1/2 GB RAM. This always worked fine for me.
If you use the version with the launcher (idea.exe on Windows) you'll find the same options in the idea.lax. Search for "lax.nl.java.option.additional" to find them.
rbeeger:
Perfect. Works great now.
Thanks.
Yes,
but how do you do it on Mac OSX? I've seen an idea.plist file, which would normall hold the settings, but altering the settings here makes no noticeable differance to operations.