Re: Memory leak on programmatic usage
Philip Semanchuk <[email protected]> Fri, 2 Mar 2007 22:40:52 -0500
| Newsgroups | gmane.comp.python.spyce.general |
|---|---|
| Message-ID | <[email protected]> |
On Mar 2, 2007, at 6:00 AM, Iwan Vosloo wrote: > Hi there, > > we have a memory leak when using Spyce programatically. I attach a > file > that reproduces the problem. (We're on Rev 1200 of the svn branch at > https://svn.sourceforge.net/svnroot/spyce/branches/spyce-2.1 ) > > See the attached code: It seems that the TestResponse object passed to > spyceStringHandler is never released... (One such object is added for > each request made.) > > I'd like to know if this leak is true for newer versions? Hi Iwan I'm on Spyce 2.0.3. When I have debug=False in spyceconf.py, I see the "1000 ocurrences of __main__.TestResponse" message. When I set debug=True, the problem goes away. Do you get this behavior too? bye Philip ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV