[Ironruby-core] Memory Usage Tests
Aaron Clauson
lists at ruby-forum.com
Sat Jul 12 10:32:54 EDT 2008
Peter Bacon Darwin wrote:
> Also...
> If you only have the CreateScope method and not the Execute method in
> the
> loop then there is no memory increase.
> With both in the loop you get a linear increase in memory usage, even if
> you
> regularly force a Garbage Collection, of approximately 10K per
> iteration.
> Pete
Hi Pete,
If I take the Execute method out of the loop then I don't get any
significant increase in memory usage. However as per my post above I
think I do need the CreateScope and Execute calls in the loop to allow
for multiple simultaneous script executions.
Regards,
Aaron
--
Posted via http://www.ruby-forum.com/.
More information about the Ironruby-core
mailing list