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
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to