Re: Memory problems while using a clist



"Kerber, Ulrich" <Ulrich Kerber faidor de> writes:
> I wrote an app with a clist showing the contents of a log file; the
> clist is updated every 60 seconds. Although i do a gtk_clist_clear,
> the memory used is increasing with every run, even if no element is
> added. After a day of work the amount reaches up to 40 MB!
> Does anybody know a solution to this problem?
> 

You just need to debug it. Use a tool such as "memprof" to see where
the memory is leaked.

Havoc



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