There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Memory Leak when using AppDomains
There is a leak when running the engine in another AppDomain.
I created a very simple program to reproduce that (see attachment).
To create the leak, pass true to the CreateEngine function. That way it will use an AppDomain.
Using TaskManager and other tools you'll see the memory increase, then it will throw an OutOfMemoryException.
Passing it false tells it to use the same AppDomain as the application and will not leak.
Tested with IronPython 2.7.1 and 2.7.3.