[Sugar-devel] Memory leak in Sugar -- how to dump Py data structures?
Tim McNamara
paperless at timmcnamara.co.nz
Thu Oct 7 16:01:58 EDT 2010
On 8 October 2010 03:34, Martin Langhoff <martin.langhoff at gmail.com> wrote:
> See http://dev.laptop.org/ticket/10386 for details. The sugar-session
> process in 10.1.2 grows slowly...
>
> There's some form of leak somewhere. Maybe we are triggerin a real
> python leak, maybe we have reference loops. How do we trace this?
>
This post seems pretty good [1]. It cites a tool that creates an object
graph that visually represents what is happening in memory.[2]
[1] http://www.lshift.net/blog/2008/11/14/tracing-python-memory-leaks
[2] http://mg.pov.lt/blog/python-object-graphs.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20101008/5afd5bf4/attachment.html>
More information about the Sugar-devel
mailing list