Message6110

Author gdoutch
Recipients gdoutch
Date 2010-09-30.08:18:42
SpamBayes Score 7.490508e-12
Marked as misclassified No
Message-id <1285834728.53.0.182066614631.issue1660@psf.upfronthosting.co.za>
In-reply-to
Content
The attached script is modified slightly from the example given in:
http://docs.python.org/library/socketserver.html

to make it run "forever". However, a memory leak occurs and eventually we see:

Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: Java heap space
Exception in thread Thread:Traceback (most recent call last):
Exception in thread "MainThread" java.lang.OutOfMemoryError: Java heap space
  File "C:\jython2.5.2b2\Lib\threading.py", line 179, in _Thread__bootstrap

I am running 2.5.2b2, however this behaviour is observed on 2.5.1 also. Running Sun JDK on Win32 (XP).
History
Date User Action Args
2010-09-30 08:18:49gdoutchsetrecipients: + gdoutch
2010-09-30 08:18:48gdoutchsetmessageid: <1285834728.53.0.182066614631.issue1660@psf.upfronthosting.co.za>
2010-09-30 08:18:48gdoutchlinkissue1660 messages
2010-09-30 08:18:46gdoutchcreate