summaryrefslogtreecommitdiff
path: root/docs/development/jvm.txt
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-04-20 14:02:36 +0000
committermichelou <michelou@epfl.ch>2007-04-20 14:02:36 +0000
commit78c3aae6737a9739c67e8821c44966159c430565 (patch)
tree24037a2c02a7447525acc5e2da9c14848b546299 /docs/development/jvm.txt
parent27176e165d55ac6b2cb03d19447fc052ffa503e0 (diff)
downloadscala-78c3aae6737a9739c67e8821c44966159c430565.tar.gz
scala-78c3aae6737a9739c67e8821c44966159c430565.tar.bz2
scala-78c3aae6737a9739c67e8821c44966159c430565.zip
added Scala environment options
Diffstat (limited to 'docs/development/jvm.txt')
-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