lkml.org 
[lkml]   [1998]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 'disposable' dirty pages [was: Out Of Memory in v. 2.1]
On Wed, Oct 07, 1998 at 12:02:06PM -0500, Ely Wilson wrote:

> Hmm, I'm wondering. I haev this application, it allocates 10
> blocks each 1 megs in size. Then I free() 5 of those blocks, but
> the program is still eating 10 megs of memory.
>
> Is this right?

Using the `normal' libc malloc - yes.

There are other mallocs out there which try to return the memory to
the kernel though.



-cw


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.066 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site