[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Memory leak when using Graph.Adjacency in Python interface
From: |
Tamas Nepusz |
Subject: |
Re: [igraph] Memory leak when using Graph.Adjacency in Python interface |
Date: |
Thu, 10 Dec 2009 11:10:25 +0000 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Dear Jonathan,
> While the loop is being executed, the memory is quickly being filled up. The
> memory is only freed, when the Python shell is closed or the program
> terminates. Explicitly calling the Python garbage collector does not help.
Thanks for pointing that out, this is indeed a memory leak. Luckily, it
is easy to fix if you are willing to recompile the Python interface (the
core C library is unaffected). Here's a patch for the 0.5 branch:
http://bazaar.launchpad.net/~igraph/igraph/0.5-main/revision/1554
Best,
--
Tamas