diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-02-10 14:31:04 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-02-10 14:31:04 +0000 |
commit | 538b7caab013e6ec78bed2b65a7c5d345f1c737e (patch) | |
tree | 8eeabda8f593d6adcfe815c807ab2a07cf4ba3a1 /configure.ac | |
parent | 5a6b0398026a8a24b206a4b4d43894f9c683792c (diff) | |
download | guix-538b7caab013e6ec78bed2b65a7c5d345f1c737e.tar.gz |
* 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.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index b487a8fdaa..deb011d1c7 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, |