From: Eric F. <ef...@km...> - 2004-06-09 03:42:16
|
John, I am using pygtk2.2, built and installed from the tarball on top of my existing pygtk2.0, which was installed from rpm. The problem does not seem to be inevitable with pygtk plotting; testing I have done so far with pyStripchart 0.0.7 (http://jstripchart.sourceforge.net), also with pygtk2.2, has given no indication of a leak. It is a much more specialized (hence simpler) package, though. It draws directly to a DrawingArea instead of using a Pixmap. Eric John Hunter wrote: >>>>>>"Steve" == Steve Chaplin <ste...@ya...> writes: >>>>>> >>>>>> > > Steve> There does seem to be a memory problem when using Python > Steve> and GTK+. Have you seen the pygtk FAQ 8.4 "Is there a > Steve> resource leak? Why do I run out of memory using Pixbuf?" > >I submitted a patch to fix a pygtk memory leak in get_image that was >incorporated into pygtk 2.2. > > http://bugzilla.gnome.org/show_bug.cgi?id=133681 > >Which version are you using? Do you still see a problem with pygtk >2.2 or later? > >I'll take a look at incorporating your changes, in an case. > >But as Kirill pointed out, there is a separate problem with Agg that I >have to track down. > >JDH > > > |