<br><font size=2 face="sans-serif"><br>
I tried also the release 15022, in my case it doesn't fix the memory leak.
Do you have any idea about objects not collected ?<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Jean-Paul Calderone &lt;exarkun@divmod.com&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: twisted-web-bounces@twistedmatrix.com</font>
<p><font size=1 face="sans-serif">05/11/2005 01:47</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
&quot;Discussion of twisted.web, Nevow, &nbsp; &nbsp; &nbsp; &nbsp;and
Woven&quot; &lt;twisted-web@twistedmatrix.com&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">Discussion of twisted.web, Nevow, and
Woven &lt;twisted-web@twistedmatrix.com&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [Twisted-web] Re: Memory leak with
twisted web server on QNX</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<p><font size=1 color=#000080 face="sans-serif"><b>Security Level:?</b></font><font size=1 color=#800080 face="sans-serif">
&nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="sans-serif">Internal</font>
<br>
<hr><font size=2><tt>On Fri, 4 Nov 2005 19:33:53 -0500, Jean-Paul Calderone
&lt;exarkun@divmod.com&gt; wrote:<br>
&gt;On Sat, 05 Nov 2005 01:25:31 +0100, Nagy Zsombor &lt;zsombor@niif.hu&gt;
wrote:<br>
&gt;&gt;Hello everyone!<br>
&gt;&gt;<br>
&gt;&gt;[this is my first post]<br>
&gt;&gt;<br>
&gt;&gt;I had a serious memory leak with twisted 2.0.1 and twisted web
0.5, when I <br>
&gt;&gt;created a web server with TLS, and every client connection increased
the <br>
&gt;&gt;memory usage.<br>
&gt;&gt;I played with it a lot, and found out, if I comment out line of
code in <br>
&gt;&gt;twisted.internet.posixbase, the leak is gone...<br>
&gt;&gt;<br>
&gt;&gt;This one:<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; 322 &nbsp; &nbsp; &nbsp; &nbsp; def _startTLS(self):<br>
&gt;&gt; &nbsp; &nbsp; 323 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self.TLS
= 1<br>
&gt;&gt; &nbsp; &nbsp; 324 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; klass
= self.__class__<br>
&gt;&gt; &nbsp; &nbsp; 325 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; class
TLSConnection(_TLSMixin, klass):<br>
&gt;&gt; &nbsp; &nbsp; 326 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; implements(interfaces.ISSLTransport)<br>
&gt;&gt;!! &nbsp;327 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #components.backwardsCompatImplements(TLSConnection)<br>
&gt;&gt; &nbsp; &nbsp; 328 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self.__class__
= TLSConnection<br>
&gt;&gt;<br>
&gt;&gt;So if I uncomment this 'backwardCompatImplements' there is a serious
memory <br>
&gt;&gt;leak, if I comment it out, there is no leak.<br>
&gt;&gt;<br>
&gt;&gt;I can show you the test programs if you want me to.<br>
&gt;<br>
&gt;This makes sense. &nbsp;I'll see what I can do about it.<br>
&gt;<br>
<br>
This should be fixed in r15022. &nbsp;Could you give it a try and let me
know? &nbsp;If it fixes it, we should be able to get this into the next
point release.<br>
<br>
&gt;Jean-Paul<br>
&gt;<br>
&gt;_______________________________________________<br>
&gt;Twisted-web mailing list<br>
&gt;Twisted-web@twistedmatrix.com<br>
&gt;http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web<br>
&gt;<br>
<br>
_______________________________________________<br>
Twisted-web mailing list<br>
Twisted-web@twistedmatrix.com<br>
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web<br>
</tt></font>
<br>