|
From: | Ken Bass |
Subject: | Re: [Duplicity-talk] apparent memory leak on OS X |
Date: | Mon, 09 Jan 2012 11:00:56 -0500 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 |
On 1/9/2012 10:16 AM, Kenneth Loafman wrote:
One take away from that blog article is that: "The garbage collector will collect objects in reference cycles unless they have del method." A quick grep through the code shows that tempfile, tarfile, and pexpect each have __del__ method. Since you said it happens with large datasets, perhaps it has to do with either a large number of tar or tempfiles. And it just so happens that mterry added a __del__ method to tarfile.py in that patch. Related? |
[Prev in Thread] | Current Thread | [Next in Thread] |