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.<br><br><div class="gmail_quote">On Wed, Dec 31, 2008 at 11:50 AM, Christian Schmidt <span dir="ltr">&lt;<a href="mailto:christian2.schmidt@gmx.de">christian2.schmidt@gmx.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Josh,<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
CompiledCode cc = src.Compile();<br>
</blockquote></blockquote>
<br>
This will leak memory. So you will run out of memory after a while (in our case after 100&#39;000 compiles on x86).<br>
[<a href="http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=20399" target="_blank">http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=20399</a>]<div class="Ih2E3d"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is this going to work or will I run into threading problems? &nbsp;In other words, is the ScriptEngine thread-safe? &nbsp;Will it serialize all of my cc.Execute() calls? &nbsp;Any other insight into its behavior in this regard would be appreciated.<br>

</blockquote></blockquote>
<br></div>
I think globals and imports will be shared. So modifying them might give unexpected results.<br>
<br>
Cheers,<br><font color="#888888">
Christian</font><div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com" target="_blank">Users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://nomadlife.org">nomadlife.org</a><br><br>