[commit: ghc] master: users_guide: Update default maximum stack size (f65473b)

git at git.haskell.org git at git.haskell.org
Fri Oct 25 14:22:14 UTC 2013


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/f65473bc4fa8c9664af829629d9d4fb5653154e2/ghc

>---------------------------------------------------------------

commit f65473bc4fa8c9664af829629d9d4fb5653154e2
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Thu Sep 12 23:28:20 2013 -0400

    users_guide: Update default maximum stack size


>---------------------------------------------------------------

f65473bc4fa8c9664af829629d9d4fb5653154e2
 docs/users_guide/runtime_control.xml |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/docs/users_guide/runtime_control.xml b/docs/users_guide/runtime_control.xml
index 32edc3f..d26dd96 100644
--- a/docs/users_guide/runtime_control.xml
+++ b/docs/users_guide/runtime_control.xml
@@ -676,11 +676,12 @@ $ ./prog -f +RTS -H32m -S -RTS -h foo bar
           <indexterm><primary>stack, maximum size</primary></indexterm>
         </term>
 	<listitem>
-	  <para>[Default: 8M] Set the maximum stack size for
-          an individual thread to <replaceable>size</replaceable>
-          bytes.  If the thread attempts to exceed this limit, it will
-          be sent the <literal>StackOverflow</literal> exception. The
-          limit can be disabled entiredly by specifying a size of zero.
+	  <para>[Default: 80% physical memory size] Set the
+          maximum stack size for an individual thread to
+          <replaceable>size</replaceable> bytes. If the thread
+          attempts to exceed this limit, it will be sent the
+          <literal>StackOverflow</literal> exception. The
+          limit can be disabled entirely by specifying a size of zero.
           </para>
           <para>
             This option is there mainly to stop the program eating up



More information about the ghc-commits mailing list