[IronPython] Lightweight Code Generation?

Curt Hagenlocher curt at hagenlocher.org
Mon Oct 11 16:13:02 CEST 2004


"Jim Hugunin" <jim at ironpython.com> writes:

> The leak on 1.1-based systems is there because they don't support
> DynamicMethod so all code generation will have to be through
> AssemblyBuilders which will leak over time.

For newcomers to the discussion, it should be pointed out that
IronPython would only leak over time in a 1.1 CLR when

a) used interactively
b) used in a program that performs exec / eval

Long-running programs that don't exec/eval would not be building
new code, and therefore wouldn't leak memory.

--
Curt Hagenlocher
curt at hagenlocher.org



More information about the Ironpython-users mailing list