lkml.org 
[lkml]   [1997]   [Jan]   [29]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 29 Jan 1997 15:48:40 +0200 (SAT)
FromMike Kilburn <>
SubjectRe: Memory use: returning freed memory to the pool

On Tue, 28 Jan 1997, Adam D. Bradley wrote:

> This is, methinks, a libc problem...malloc() will (when necessary) aquire
> a heap of memory w/ a system call, then allocate segments within that
> heap; free() marks those sections of the heap "de-allocated", but does not
> return it to the OS until the program exits.

Doesnt the "new" malloc in libc 5.3.12 returns memory to the OS when
free is called? 


\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.088 / U:0.190 seconds]
©2003-2008 Jasper Spaans