OK, Ill try to remove it and see if that helps. Thanks
*From:* users-boun...@lists.ironpython.com [mailto: users-boun...@lists.ironpython.com] *On Behalf Of *Dino Viehland *Sent:* Tuesday, October 05, 2010 6:59 PM *To:* Discussion of IronPython *Subject:* Re: [IronPython] HostCodeHeap leakage? Yep, DebugMode is the same as –X:Debug. In general I’d suggest making this configurable somehow and only turn it on if you’re actually debugging. It’s unfortunate that we can’t offer both debugging & collectability but right now that’s simply a limitation of the CLR and/or our lack of a separate VS debug engine which can debug Python code. *From:* users-boun...@lists.ironpython.com [mailto: users-boun...@lists.ironpython.com] *On Behalf Of *Idan Zaltzberg *Sent:* Tuesday, October 05, 2010 9:09 AM *To:* Discussion of IronPython *Subject:* Re: [IronPython] HostCodeHeap leakage? 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-boun...@lists.ironpython.com [mailto: users-boun...@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-boun...@lists.ironpython.com [mailto: users-boun...@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
_______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com