[IronPython] IronPython with CherryPy through WSGI Memory issue

Jeff Hardy jdhardy at gmail.com
Fri Apr 2 12:49:18 PDT 2010


I'm seeing a lot of objects with !gcroots that start with

DOMAIN(005F5F48):HANDLE(Strong):161100:Root:02913dac(System.Threading.Thread)->
0b93e034(System.Object[][])->
0b93e048(System.Object[])->
223edd34(System.Collections.Generic.List`1[[Microsoft.Scripting.Runtime.DynamicStackFrame,
Microsoft.Dynamic]])->
223edd6c(System.Object[])->
223edd4c(IronPython.Runtime.PythonDynamicStackFrame)->
09441a48(IronPython.Runtime.FunctionCode)->
...

So it looks like it might be related to dynamic stack frames --
something that is in thread local storage and not getting cleaned up.

- Jeff


More information about the Users mailing list