diff options
author | Alexander Larsson <alexl@redhat.com> | 2009-02-17 10:55:00 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2009-02-17 10:55:00 +0000 |
commit | fbe7bdd104f478c4648e7937f47391be59f31183 (patch) | |
tree | 39e5cdae4ad0c24d48bd40920e707262f9b2823b /configure.in | |
parent | 4dd81c63bb3c0e9bc9babf3839ca8df04f4097ce (diff) | |
download | nautilus-fbe7bdd104f478c4648e7937f47391be59f31183.tar.gz |
Set the glibc MMAP limit to a static value to avoid the dynamic limit
2009-02-17 Alexander Larsson <alexl@redhat.com>
* configure.in:
* src/nautilus-main.c:
Set the glibc MMAP limit to a static value to avoid the dynamic
limit hitting bad behaviour due to the large temporary allocations
when creating the desktop background. It would raise the limit
to a large value causing several large allocations on the
heap which are then not returned to the OS.
svn path=/trunk/; revision=14963
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 7669e68cb..21d7d76d8 100644 --- a/configure.in +++ b/configure.in @@ -110,11 +110,11 @@ AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal) dnl ========================================================================== -AC_CHECK_HEADERS(sys/mount.h sys/vfs.h sys/param.h) +AC_CHECK_HEADERS(sys/mount.h sys/vfs.h sys/param.h malloc.h) dnl ========================================================================== -AC_CHECK_FUNCS(statfs statvfs) +AC_CHECK_FUNCS(statfs statvfs mallopt) AC_CHECK_HEADERS(sys/statfs.h sys/statvfs.h) dnl |