From 78c3aae6737a9739c67e8821c44966159c430565 Mon Sep 17 00:00:00 2001 From: michelou Date: Fri, 20 Apr 2007 14:02:36 +0000 Subject: added Scala environment options --- docs/development/jvm.txt | 43 +++++++++++++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 14 deletions(-) (limited to 'docs') 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 -- cgit v1.2.3