First, you can view the current settings by running jbuilder executable with
-info option, which dumps all JVM options and system properties before starting IDE. For JVM settings, look for output
You can backup and edit install-dir/bin/jbuilder.config to modify the IDE JVM settings, among other things. The entries of interest are:
# Tune this VM to provide enough headroom to work on largeI found these property names and value formats a little awkward. As their names suggests,
vmmemmin 32mmaps to JVM option
vmmemmax 75%maps to JVM option
-Xmx750m. The latter is confusing and seems to be a result of
1000m (physical memory) * 75%. It turns out you may also use the absolute amount like
But it seems I can't use the percentage format for initial heap size. For example,
vmmemmin 12%would result in the wrong JVM option
If you want to specify additional JVM options, you need to add more
vmparamentries (they are additive). For example, if you want to specify space for PermGen, in addition to heap size:
vmparam -XX:MaxPermSize=128mIncluding them into the same entry value would result in syntax error. The following line is wrong:
vmparam -XX:MaxPermSize=128m -XX:PermSize=64m
Unrecognized VM option 'MaxPermSize=128m -XX:PermSize=64m'
Unable to create JVM.