This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/167] malloc() eats excess ram
- From: "pere at hungry dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 18 Jun 2004 08:53:11 -0000
- Subject: [Bug libc/167] malloc() eats excess ram
- References: <20040516194648.167.bluefoxicy@linux.net>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From pere at hungry dot com 2004-06-18 08:53 -------
The glibc malloc() is based on Doug Leas malloc(), and will use
mmap() for all requests with size above mmap_threshold.
You can change this threshold using
mallopt(M_MMAP_THRESHOLD, <new value>). The default threshold
seem to be 128k. You should test very carefully if you decide to
change this threshold.
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=167
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.