Dino, Did you ever have a chance to look into this many moons ago, and if not, any tips on how to go about figuring it out? I'm pretty sure I am running into something similar.
Thanks, Alex On Wed, Nov 16, 2011 at 10:54 AM, Dino Viehland <di...@microsoft.com> wrote: > settrace() debugging should be perfectly fine, it's only the .NET > debugging which causes the memory leaks. Can you open a bug and attach the > repro? The repro's simple enough, I might be able to track down the leak > fairly quickly. > > -----Original Message----- > From: ironpython-users-bounces+dinov=microsoft....@python.org [mailto: > ironpython-users-bounces+dinov=microsoft....@python.org] On Behalf Of > Markus Schaber > Sent: Wednesday, November 16, 2011 1:40 AM > To: Markus Schaber; ironpython-users@python.org > Subject: Re: [Ironpython-users] Memory Leak and Lightweight Scopes > > Hi, Dino, > > Von: Markus Schaber > > Von: Dino Viehland [mailto:di...@microsoft.com] > >> Also make sure that you don't have debugging enabled as that forces to > create uncollectible code too and probably overrides the light weight > scopes option. > > I'll first try to check that one. The reason is that we are using > settrace() unconditionally, currently. > > Removing the settrace() call and all other language options except > LightweightScopes actually reduces the problem by an enormous amount. > > I guess what's left is the generated code in the dynamic assemblies, and > to get rid of that leak, we will have to use AppDomains, right? > > I also wanted to try the interpreted mode, but found a comment that this > mode is ignored. Is that correct? > > > Thanks, > Markus Schaber > -- > ___________________________ > We software Automation. > > 3S-Smart Software Solutions GmbH > Markus Schaber | Developer > Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 | Fax > +49-831-54031-50 > > Email: m.scha...@3s-software.com | Web: http://www.3s-software.com > CoDeSys internet forum: http://forum.3s-software.com Download CoDeSys > sample projects: http://www.3s-software.com/index.shtml?sample_projects > > Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | > Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915 > _______________________________________________ > Ironpython-users mailing list > Ironpython-users@python.org > http://mail.python.org/mailman/listinfo/ironpython-users > > Mit freundlichen Grüßen > > Markus Schaber > -- > ___________________________ > We software Automation. > > 3S-Smart Software Solutions GmbH > Markus Schaber | Entwicklung > Memminger Str. 151 | 87439 Kempten | Tel. +49-831-54031-0 | Fax > +49-831-54031-50 > > Email: m.scha...@3s-software.com | Web: http://www.3s-software.com > CoDeSys Internet-Forum: http://forum.3s-software.com > > Geschäftsführer: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | > Handelsregister: Kempten HRB 6186 | USt-IDNr.: DE 167014915 > > _______________________________________________ > Ironpython-users mailing list > Ironpython-users@python.org > http://mail.python.org/mailman/listinfo/ironpython-users > > _______________________________________________ > Ironpython-users mailing list > Ironpython-users@python.org > http://mail.python.org/mailman/listinfo/ironpython-users > -- Website: http://earl-of-code.com
_______________________________________________ Ironpython-users mailing list Ironpython-users@python.org https://mail.python.org/mailman/listinfo/ironpython-users