summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/development/jvm.txt43
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