[IronPython] HostCodeHeap leakage?
Idan Zaltzberg
idan at cloudshare.com
Tue Oct 5 18:09:04 CEST 2010
Im running using the engine from a hosting app.
We have these lines in the startup:
ScriptRuntimeSetup setup = new ScriptRuntimeSetup();
setup.DebugMode = true;
ScriptRuntime runtime = Python.CreateRuntime(setup.Options);
engine = runtime.GetEngine("py");
Is this is the same like –X:Debug?
You reckon this could be the cause?
*From:* users-bounces at lists.ironpython.com [mailto:
users-bounces at lists.ironpython.com] *On Behalf Of *Dino Viehland
*Sent:* Tuesday, October 05, 2010 5:53 PM
*To:* Discussion of IronPython
*Subject:* Re: [IronPython] HostCodeHeap leakage?
My guess is that’s code in the JIT heap that’s building up but I’m not 100%
certain. How is your code being executed? Do you have the debug option (-D
or –X:Debug) enabled? To support debug mode we need to produce
uncollectible code which could be building up.
*From:* users-bounces at lists.ironpython.com [mailto:
users-bounces at lists.ironpython.com] *On Behalf Of *Idan Zaltzberg
*Sent:* Tuesday, October 05, 2010 2:26 AM
*To:* Discussion of IronPython
*Subject:* [IronPython] HostCodeHeap leakage?
I am trying to find a memory/"performance" leak in an Ipy application.
Using WINDBG (!eeheap -loader), we noticed the that the LoaderHeap is
getting bigger (150MB increase per day). From the !eeheap output it seems
that the increase is due to HostCodeHeap (objects?).
As I understand these objects might be created by Ipy infra, is that right?
Is there anyway I can get more info on their content, or prevent them from
growing?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20101005/215dcc80/attachment.html>
More information about the Ironpython-users
mailing list