In Instruments if I take a snapshot every sec, I get a list of leaked objects, they're either all Malloc or NSAutorelease Pool.

When I follow memory addresses, I see "responsible callers": PyMem_Malloc or [NSAutoreleasePool allocWithZone].


On Wed, Jun 13, 2012 at 7:53 PM, Ronald Oussoren <> wrote:

On 13 Jun, 2012, at 9:38, tanya wrote:

Hello. I am just beginning with PyObjC, and so I downloaded XCode/PyObjC templates from . Without changing anything I am running Instruments, and seeing that there are leaks in XCode 4.3 ( I also downloaded other templates based on that (, and these also leak. What can I do to resolve this? Is it too minor to worry about?

I don't use the Xcode templates myself (I'm an command-line nerd and use vim and py2app instead).  The leaks are probably not relevant, what does Xcode say about the source of these leaks? If you select the leak Instruments should tell you where the memory was allocated, and that might tell us what's going on here.


Thanks for your help!

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
Pyobjc-dev mailing list