Memory Leak on Mac OS X
Created originally on Bitbucket by schlamar (Marc Schlaich)
I tried a approach to install thg with MacPorts (see instructions below). But now I have this warning in the Terminal when running thg
:
{{{ 2011-04-09 13:39:52.761 Python[65546:60f] *** __NSAutoreleaseNoPool(): Object 0x1170662c0 of class NSCFArray autoreleased with no pool in place - just leaking }}}
I have no clue where this is coming from, any ideas?
=== Alternative: Install via MacPorts ===
-
Install XCode (Version 3.x is free and works)
-
Install Java Developer Package Update 4 (https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719)
-
Install MacPorts (http://www.macports.org/install.php)
-
Install Python and PyQt from ports:
{{{ $ sudo port install python27 python_select
Make this the default version
$ sudo python_select python27
$ sudo port install py27-pygt4 py27-qscintilla }}}
-
Set /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin to your Path (edit ~/.bash_profile)
-
Dependencies (distribute, pip, iniparse, pygments, mercurial)
{{{ $ curl -O http://python-distribute.org/distribute_setup.py $ sudo python distribute_setup.py $ sudo easy_install pip $ sudo pip install iniparse pygments mercurial }}}