about summary refs log tree commit diff
path: root/doc/manual/env-common.xml
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-10-29T14·44+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-10-29T14·44+0000
commit26def5392f6f6364aa0939a2d4fc7705e786d38d (patch)
tree1908294aa8f029be6bc4c0f227074391dbaeee9b /doc/manual/env-common.xml
parent3d71c8013efa5d347b9767af54160b3d0fd9127b (diff)
* Document Boehm GC support.
Diffstat (limited to 'doc/manual/env-common.xml')
-rw-r--r--doc/manual/env-common.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/manual/env-common.xml b/doc/manual/env-common.xml
index d67ef714d0f9..99acc5949044 100644
--- a/doc/manual/env-common.xml
+++ b/doc/manual/env-common.xml
@@ -271,6 +271,17 @@ $ mount -o bind /mnt/otherdisk/nix /nix</screen>
 
 </varlistentry>
 
+
+<varlistentry><term><envar>GC_INITIAL_HEAP_SIZE</envar></term>
+
+  <listitem><para>If Nix has been configured to use the Boehm garbage
+  collector, this variable sets the initial size of the heap in bytes.
+  It defaults to 384 MiB.  Setting it to a low value reduces memory
+  consumption, but will increase runtime due to the overhead of
+  garbage collection.</para></listitem>
+
+</varlistentry>
+
     
 </variablelist>