[IronPython] IronPython with CherryPy through WSGI Memory issue

Jeff Hardy jdhardy at gmail.com
Thu Apr 8 19:32:57 CEST 2010


On Thu, Apr 8, 2010 at 10:38 AM, Can Gencer <cgencer at gmail.com> wrote:
> I've noticed there was a leak in the NWSGI implementation regarding
> the input/output streams, i.e. they were never GC'd. It could be due
> to the way the stream -> file conversion is done.

Wouldn't surprise me; that's kind of an ugly piece of code. There's a
few spots where NWSGI doesn't interact with CodeContexts correctly,
because there wasn't really a good story around them - now I'd just
use SharedContext, assuming I can *find* it again :).

But there must be something else, in NWSGI or IronPython, to account
for 35k/request.

- Jeff



More information about the Ironpython-users mailing list