About the memory management again
- From: ZHOU DX <zhou_dx yahoo com>
- To: gtk-devel-list gnome org
- Subject: About the memory management again
- Date: Tue, 9 Dec 2003 00:23:33 -0800 (PST)
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]