[sugar] Re: [pygtk] Re: [OLPC-devel] Pygtk and garbage collecting
finlay at moeraki.com
Mon Jul 31 16:54:02 EDT 2006
Johan Dahlin wrote:
> Philip Van Hoof wrote:
>> This PyGTK bug is going to be important for OLPC as it might slow down
>> object destruction.
> This is true for all GObject subclasses. GdkPixbufs is another problematic
> case, since they're usually quite large.
> Without the patch they appear to leak and will not be freed immediately.
> The patch could use some wider testing, large applications are known to run
> under it, but there may still be some corner cases which are not solved.
> I think we're going to apply it early on in the next PyGObject/PyGTK release
> cycle (after GNOME 2.16).
Does changing the gc thresholds help as a workaround in the meantime?
For example gc.set_threshold(10,2,2) to really get collection to run
More information about the Sugar-devel