From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9611111438.AA03839@scooter> Date: Mon, 11 Nov 1996 09:38:38 -0500 (EST) From: Jim Nance Subject: Re: Funny thing whith malloc/free... In-Reply-To: <199611111420.OAA08150@apagado.ing.puc.cl> > We found out that the process size reported by ps never went > down... It did not increase when the size asked for was smaller than the > freed space (so free was working OK), but the process never shrunk! This is the way most implementations of malloc and free work. When you free memory, it goes into a free pool, but it is not returned to the OS. This behavior is dependent on the implementation of malloc() and free(). It is not forced either way by the kernel. Jim -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com