duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] apparent memory leak on OS X


From: tono
Subject: Re: [Duplicity-talk] apparent memory leak on OS X
Date: Tue, 06 Dec 2011 15:50:07 -0500

Thanks for the responses. I didn't notice a pileup of gpg processes but
I'll double-check.

It seems like there are two different Python binaries at play, the one
in the script header and the one in my $PATH. 


$ head -1 /opt/local/bin/duplicity
#!/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

$ which python
/opt/local/bin/python
MetroMBP06:~ tony$ ls -ld /opt/local/bin/python
lrwxr-xr-x  1 root  admin  24 Nov 15 09:03 /opt/local/bin/python ->
/opt/local/bin/python2.7
MetroMBP06:~ tony$ ls -ld /opt/local/bin/python2.7
lrwxr-xr-x  1 root  admin  73 Nov 15 09:00 /opt/local/bin/python2.7 ->
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7

Both binaries report 2.7.2 although the file sizes differ slightly:

$ ls -l
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
\
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
-rwxr-xr-x  1 root  wheel  24924 Nov 15 09:00
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
-rwxr-xr-x  1 root  wheel  25564 Nov 15 09:00
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7

I'll try again tonight, changing the #! line to match the default
install in my $PATH.


On Mon, Dec 5, 2011, at 12:05 PM, Chris Poole wrote:
> On Fri, Dec 2, 2011 at 6:48 PM,  <address@hidden> wrote:
> > The Python process is using upwards of 3GB of RAM.
> 
> Can you do `python --version` to let us know exactly which version.
> 
> I am using Duplicity 0.6.17 and python 2.7.2 (built using homebrew), on
> Mac OS
> 10.6.8.
> 
> I have no memory leak issues (that I've spotted), though I do only backup
> about
> 50GB maximum.
> 
> 
> Chris
> 
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]