[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Python sysmodule.c,2.82,2.83

Neil Schemenauer nas@arctrix.com
2001年1月15日 11:40:55 -0800


On Sat, Jan 13, 2001 at 05:25:12PM -0500, Guido van Rossum wrote:
> Do you have a tool that detects leaks?

debauch is showing promise athough it is still pretty rough
around the edges. memprof is another option. It looks like
init_exceptions may be leaking memory. Some debauch output:
 1 Leaked Memory 0x0849cf98, size 44 (from 0x0) AllocTime: 79269 FreeTime: 43436 
 return stack:
 ???:?? (0x40016005) 
 classobject.c:84 (0x805c16d) <PyClass_New+631>
 exceptions.c:337 (0x8088594) <make_Exception+250>
 exceptions.c:1061 (0x80898dc) <init_exceptions+232>
 pythonrun.c:151 (0x8053581) <Py_Initialize+573>
 loop.c:23 (0x8053305) <main+101>
I haven't figured out if this is a real leak yet.
 Neil

AltStyle によって変換されたページ (->オリジナル) /