[Ironpython-users] Memory Leak and Lightweight Scopes

Markus Schaber m.schaber at 3s-software.com
Wed Nov 16 10:39:48 CET 2011


Hi, Dino,

Von: Markus Schaber
> Von: Dino Viehland [mailto:dinov at 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.schaber at 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 at 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.schaber at 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



More information about the Ironpython-users mailing list