[IronPython] IronPython is leaking

Andrew Pliszka APliszka at AlienForceIT.Com
Wed Dec 21 18:12:36 CET 2005


I run a very simple speed/reliability test using IronPython, and then
analysed the code using .Net Profiler. Current IronPython release seams to
not release all the resources, because the memory usage of simple console
application doubles in size from 62MN to 120MB, and analyzing .Net Profiler
GC graphs there is a linear increase in memory usage.

I run the same test using Boo (http://boo.codehaus.org/) and there was no

I am interested in using IronPython as a scripting language for my
application. Is there a release date for production ready IronPython?


            PythonEngine pe = new PythonEngine();
            pe.Execute("import hello");

            for (int j = 0; j < 1; j++)
                for (int i = 0; i < 6000; i++)


def speedLoop():
	j = 0;
	i = 0;
	x = 0;
	while i < 10000:
		while x < 10000:
			j = i;
			x = x + 1;
		i = i + 1;
	return i;

-----Original Message-----
From: users-bounces at lists.ironpython.com
[mailto:users-bounces at lists.ironpython.com]On Behalf Of J. Merrill
Sent: Wednesday, December 21, 2005 11:57 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Comparing enum to None

I for one would prefer for you to continue to send reports to the list.
That way, I'll know about the issue, and will see any answer -- particularly
one of the form "it's a bug, but we won't be able to fix it for a while
[because ...], so do this instead" or "we'll fix it soon, but for now here's
a workaround" or "not a bug, because ...".


At 09:01 AM 12/21/2005, William Reade wrote (in part)
>Hi, we have a bug report. [snip]
>Incidentally, should we be bothering the list with these things, or
>should we put them directly into the bug tracker?

J. Merrill / Analytical Software Corp

users mailing list
users at lists.ironpython.com

More information about the Ironpython-users mailing list