about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2011-02-10T14·31+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2011-02-10T14·31+0000
commit538b7caab013e6ec78bed2b65a7c5d345f1c737e (patch)
tree8eeabda8f593d6adcfe815c807ab2a07cf4ba3a1 /configure.ac
parent5a6b0398026a8a24b206a4b4d43894f9c683792c (diff)
* Don't allocate a big initial GC address space on machines with
  little RAM.  Even if the memory isn't actually used, it can cause
  problems with the overcommit heuristics in the kernel.  So use a VM
  space of 25% of RAM, up to 384 MB.

Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b487a8fdaa2e..deb011d1c7e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -284,7 +284,7 @@ AC_CHECK_FUNCS([setresuid setreuid lchown])
 
 
 # Nice to have, but not essential.
-AC_CHECK_FUNCS([strsignal posix_fallocate nanosleep])
+AC_CHECK_FUNCS([strsignal posix_fallocate nanosleep sysconf])
 
 
 # This is needed if ATerm or bzip2 are static libraries,