diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-08-22 06:42:35 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-08-22 06:42:35 +0000 |
commit | bd2c234116f0a5cb022b9566266dc2b29eff9311 (patch) | |
tree | 360a4fe2dbc13047172adb292645fa97640b1602 /malloc/arena.c | |
parent | e404fb16fc35210219159a446f7c993760a37316 (diff) | |
download | glibc-bd2c234116f0a5cb022b9566266dc2b29eff9311.tar glibc-bd2c234116f0a5cb022b9566266dc2b29eff9311.tar.gz glibc-bd2c234116f0a5cb022b9566266dc2b29eff9311.tar.bz2 glibc-bd2c234116f0a5cb022b9566266dc2b29eff9311.zip |
platforms define as 512K. For 64-bit platforms as 32MB. The lower
Diffstat (limited to 'malloc/arena.c')
-rw-r--r-- | malloc/arena.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/arena.c b/malloc/arena.c index e96b3b42a6..6f4b0c497b 100644 --- a/malloc/arena.c +++ b/malloc/arena.c @@ -25,7 +25,7 @@ #define HEAP_MIN_SIZE (32*1024) #ifndef HEAP_MAX_SIZE # ifdef DEFAULT_MMAP_THRESHOLD_MAX -# define HEAP_MAX_SIZE DEFAULT_MMAP_THRESHOLD_MAX +# define HEAP_MAX_SIZE (2 * DEFAULT_MMAP_THRESHOLD_MAX) # else # define HEAP_MAX_SIZE (1024*1024) /* must be a power of two */ # endif |