[IronPython] Embedding IronPython

Dody Gunawinata empirebuilder at gmail.com
Wed Dec 31 13:35:24 CET 2008

Please we need more vote on the memory leak issue because it has huge impact
on the usage of Iron Python for the web environment as well.

On Wed, Dec 31, 2008 at 11:50 AM, Christian Schmidt <
christian2.schmidt at gmx.de> wrote:

> Hi Josh,
>  CompiledCode cc = src.Compile();
> This will leak memory. So you will run out of memory after a while (in our
> case after 100'000 compiles on x86).
> [http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=20399]
>  Is this going to work or will I run into threading problems?  In other
>>> words, is the ScriptEngine thread-safe?  Will it serialize all of my
>>> cc.Execute() calls?  Any other insight into its behavior in this regard
>>> would be appreciated.
> I think globals and imports will be shared. So modifying them might give
> unexpected results.
> Cheers,
> Christian
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20081231/892d0420/attachment.html>

More information about the Ironpython-users mailing list