Re: Memory usage



Hi,

"Richard Warren" <rew primagraphics co uk> writes:

> After noticing that my application appeared to be gradually consuming memory
> over a long period of time, I created a simple test program based on the
> "label" example to investigate it.
> 
> The program is attached to this email, but basically creates a label and
> then repeatedly changes the text in it (10 times a second).  It seems to
> consume memory at roughly 3Mb per hour (or approximately 88 bytes per label
> change on average), as shown in "top".

this is a known issue and has been reported earlier. I have just checked
and it seems to be still present with the current CVS versions. The bug
is tracked in:

  http://bugzilla.gnome.org/show_bug.cgi?id=59893

> I expect I'm being stupid (in which case please point out my mistake!), but
> if not I'd be grateful if anyone can explain what's going on and how I can
> stop the memory being used up.

Use a stable version of GTK+.


Salut, Sven



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