From: Jim Nance <jlnance@avanticorp.com>
Subject: Re: Funny thing whith malloc/free...
Date: Mon, 11 Nov 1996 09:38:38 -0500 (EST) [thread overview]
Message-ID: <9611111438.AA03839@scooter> (raw)
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
prev parent reply other threads:[~1996-11-11 14:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-11-11 14:19 Funny thing whith malloc/free Daniel Hirschberg
1996-11-11 14:38 ` Jim Nance [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox