JVMs - touniez/comp402doc GitHub Wiki
Configurable options for the two Java Virtual Machines (JVMs) that DrJava uses.
Maximum Heap Size for Main JVM in MB (master.jvm.xmx = default
)
Specifies how many megabytes of memory Java should use for the Main JVM
(the main part of DrJava including the editor and compiler). The
"default" setting leaves this up to Java. If you experience "Out of
memory" errors, set this to a value that is larger than 64 MB (default
in Java 5) but smaller than the amount of physical memory you have. If
it is still too small, choose the next bigger setting. Note: You have to
restart DrJava for changes to become effective.
JVM Args for Main JVM (master.jvm.args = ""
)
Specifies the JVM arguments that should be used for DrJava's Main JVM,
other than the maximum heap size (-Xmx), which is controlled using the
option above. Note: You have to restart DrJava for changes to become
effective.
Maximum Heap Size for Interactions JVM in MB (slave.jvm.xmx = default
)
Specifies how many megabytes of memory Java should use for the
Interactions JVM (used to interpret code in the Interactions Pane and to
run programs developed in DrJava). The "default" setting leaves this up
to Java. If you experience "Out of memory" errors, set this to a value
that is larger than 64 MB (default in Java 5) but smaller than the
amount of physical memory you have. If it is still too small, choose the
next bigger setting. Note: You have to reset the Interactions Pane for
changes to become effective.
JVM Args for Interactions JVM (slave.jvm.args = ""
)
Specifies the JVM arguments that should be used for DrJava's
Interactions JVM, other than the maximum heap size (-Xmx), which is
controlled using the option above. Note: You have to reset the
Interactions Pane for changes to become effective.