diff options
author | michelou <michelou@epfl.ch> | 2007-04-20 14:02:36 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2007-04-20 14:02:36 +0000 |
commit | 78c3aae6737a9739c67e8821c44966159c430565 (patch) | |
tree | 24037a2c02a7447525acc5e2da9c14848b546299 /docs/development | |
parent | 27176e165d55ac6b2cb03d19447fc052ffa503e0 (diff) | |
download | scala-78c3aae6737a9739c67e8821c44966159c430565.tar.gz scala-78c3aae6737a9739c67e8821c44966159c430565.tar.bz2 scala-78c3aae6737a9739c67e8821c44966159c430565.zip |
added Scala environment options
Diffstat (limited to 'docs/development')
-rw-r--r-- | docs/development/jvm.txt | 43 |
1 files changed, 29 insertions, 14 deletions
diff --git a/docs/development/jvm.txt b/docs/development/jvm.txt index fa7f3c9636..4b18883353 100644 --- a/docs/development/jvm.txt +++ b/docs/development/jvm.txt @@ -11,29 +11,44 @@ VM Options * -Xmx option (maximum heap size) - Heaps larger than 2GB are available starting with J2SE 1.3.1 + Heaps larger than 2GB are available starting with J2SE 1.3.1 - Default: 64M (32-bit UNIX and Windows) + Default: 64M (32-bit UNIX and Windows) + Scala default: 256M (v2.4.0) * -Xms option (initial heap size) - Minimum: 1025K (Linux-i586, Solaris-i586), etc.. (see [vm08]) - Default: 2M (32-bit UNIX and Windows) + Minimum: 1025K (Linux-i586, Solaris-i586), etc.. (see [vm08]) + Default: 2M (32-bit UNIX and Windows) + Scala default: 16M (v2.4.0) * -Xss option (thread stack size) - Minimum: 48K (Linux-i586), 64K (Solaris-i586), etc.. (see [vm08]) - Default: 256K (32-bit UNIX and Windows) + Minimum: 48K (Linux-i586), 64K (Solaris-i586), etc.. (see [vm08]) + Default: 256K (32-bit UNIX and Windows) + Scala default: same as default (v2.4.0) - NB. Stack size under Windows is a link-time setting, so the executable - (java.exe) as created by Sun has this 256K limit built in. Windows - however, has a simple utility to modify the stack space of an - executable (see [vm03]). - In a command window (or Cygwin shell), use the EDITBIN command to - permanently modify the executable (WARNING! Do not reduce the stack - size below 32K, see [vm04]) + NB. Stack size under Windows is a link-time setting, so the executable + (java.exe) as created by Sun has this 256K limit built in. Windows + however, has a simple utility to modify the stack space of an + executable (see [vm03]). + In a command window (or Cygwin shell), use the EDITBIN command to + permanently modify the executable (WARNING! Do not reduce the stack + size below 32K, see [vm04]) - EDITBIN /STACK:16000000 C:\Path\To\java.exe + EDITBIN /STACK:16000000 C:\Path\To\java.exe + + +Scala Environment Options +------------------------- + +* JAVACMD variable (Java command) + + Scala default: java + +* JAVA_OPTS variable (Java options) + + Scala default: -Xmx256M -Xms16M Resources |