I discovered a massive memory leak in my program and narrowed it down to 
gtk.ProgressBar.set_text(). The following code leaks 2 MB/sec on my system. 
Fun!  import gtk

  progress_window = gtk.Window(gtk.WINDOW_TOPLEVEL)
  progress_bar = gtk.ProgressBar()
  progress_window.add(progress_bar)
  progress_window.show_all()
  while True:
      progress_bar.set_text("xxx")
      while gtk.events_pending():
          gtk.main_iteration()I already reported it as a bug last year but 
there hasn't been any other 
activity:https://bugzilla.gnome.org/show_bug.cgi?id=681934I'd like to help 
squash this bug if possible. Any help is appreciated, whether it be for finding 
the bug, or developing a temporary workaround.Thanks!-- Steven T. Snyder | 
http://www.steventsnyder.com                                         
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to