Re: Pixmap + Memory Problem
- From: John Cupitt <john cupitt ng-london org uk>
- To: Emanoel Guimaraes Martins Filho <delmano ig com br>
- Cc: gtk-list gnome org
- Subject: Re: Pixmap + Memory Problem
- Date: Thu, 19 Jul 2001 18:52:33 +0100
Emanoel Guimaraes Martins Filho wrote:
> I'm trying to use a big pixmap (640x480) to show some
> estatistics, drawing rectangles and lines in the pixmap. The screen must be
> update each 5 seconds. However, the consume of memory reaches the size of
> the swap after some minutes and the program is aborted.
You should just be able to destroy the gtk_pixmap to free it up.
Another alternative is to use gtk_canvas. This does all of the hard
stuff for you, and should be much faster and better looking. Have a look
in the list archive for some links.
HTH, John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]