I can't find anything in the API to tell it to let go and just letting pixbuf object go out of scope doesn't seem to do the trick. I have a picture thumbnail display list that just eats up memory until the OOM killer gets it. It loads the images using gtk.gdk.pixbuf_new_from_file and then creates a rescaled copy using scale_simple. The rescaled copy is then passed to an ListStore.append.

I suppose it's possible that the (smaller) copy is somehow the same size as the original, which would explain the memory consumption, so the bug might be in scale_simple. But I was just wondering if this is a known problem or what. I can't find anything about it other than an unanswered message to this list a few months ago.


_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to