<br><br><div class="gmail_quote">On Thu, Oct 13, 2011 at 2:12 PM, Jeff Donner <span dir="ltr"><<a href="mailto:jeffrey.donner@gmail.com">jeffrey.donner@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Thu, Oct 13, 2011 at 1:26 AM, V.Ravikumar<br>
<<a href="mailto:ravikumar.vallabhu@gmail.com">ravikumar.vallabhu@gmail.com</a>> wrote:<br>
> I've a daemon process and I'm allocating heap memory for big character<br>
> buffers using malloc/free.<br>
> Each can take 5MB.<br>
><br>
> Though I freed/deleted memory allocated for the buffers, the increased<br>
> memory during the allocation time is not re-claiming back.This I observed<br>
> using top command.<br>
<br>
</div>Yes, I think it's glibc - it may keep your memory, with the idea that<br>
you'll request it again soon anyway. <br></blockquote></div> <span style="color: rgb(0, 0, 153);"> If this is the case then memory should not keep on increase albeit how long process may run. right?</span><br>