Thread: [Pyobjc-dev] XCode/PyObjC templates leaking
Brought to you by:
ronaldoussoren
From: tanya <tok...@gm...> - 2012-06-13 16:39:07
|
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? Thanks for your help! -t |
From: Ronald O. <ron...@ma...> - 2012-06-14 00:54:13
Attachments:
smime.p7s
|
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 > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev |
From: tanya <tok...@gm...> - 2012-06-14 17:39:00
|
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 <ron...@ma...>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 > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev > > > |
From: Daniel S. <dan...@gm...> - 2012-06-19 19:04:20
|
If you don't want to use Xcode, you can take a look at http://www.underbunch.org . there is a post there about setting up PyObjC without Xcode. Hope it helps. Cheers Daniel Santos On Jun 13, 2012, at 5:38 PM, 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? > > 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 > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev |