About the memory management again



Hi all,
The GTK FAQ says:
<quote>
Both GLib and the C library (malloc implementation)
will cache allocated memory on occasion, even if you
free it with free().
<quote>

Is there any way to change this, say I would like my
program to free memory immediately after a free call. 
I have some trouble with my program that eats up the
system memory after three or four days running.
Unfortunately, I can not get any constructive hint
from both vingrand and memprof. 

Cheers,
dan

=====
----------------------------------------------------------
Have fun!
__________________________________________________________

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]