Re: XCode/PyObjC templates leaking
tanya <[email protected]>
| Newsgroups | gmane.comp.python.pyobjc.devel |
|---|---|
| Message-ID | <CAAr_+ZaJhexC50x_25A26TxOHzwXC9pL010VmTdLFDPhJ=BjVA@mail.gmail.com> |
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]. -t On Wed, Jun 13, 2012 at 7:53 PM, Ronald Oussoren <[email protected]>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 http://svn.red-bean.com/pyobjc/trunk/pyobjc/pyobjc-xcode/ . > Without changing anything I am running Instruments, and seeing that there > are leaks in XCode 4.3 ( > https://dl.dropbox.com/u/16876271/Screen%20Shot%202012-06-13%20at%2011.22.26%20AM.png). > I also downloaded other templates based on that ( > https://github.com/gregneagle/Xcode4CocoaPythonTemplates), 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. > > Ronald > > > Thanks for your help! > > -t > ------------------------------------------------------------------------------ > 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 > threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ > Pyobjc-dev mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev > > > ------------------------------------------------------------------------------ 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 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Pyobjc-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyobjc-dev