Date: Sat, 13 Sep 1997 14:30:01 -0700 (PDT) From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: freebsd-bugs Subject: Re: bin/4526: realloc causes excessive swapping (more info for bin/4524) Message-ID: <199709132130.OAA00983@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/4526; it has been noted by GNATS. From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: mak@webcrawler.com Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/4526: realloc causes excessive swapping (more info for bin/4524) Date: Sat, 13 Sep 1997 22:10:07 +0200 > > Repeatedly calling realloc causes much more memory to be used > then you'd expect. For example, when procmail tried reading an > 8M message, this was sufficient to run a 64M (128M swap) machine > doing nothing else out of swap (and into the ground :-) > [...] >>Fix: > > Recompiling the code with the malloc.c from freebsd-current > And remember to try this: ln -s H /etc/malloc.conf (It's default in -current since middle august). -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709132130.OAA00983>