[Ironruby-core] Memory Usage Tests
Peter Bacon Darwin
bacondarwin at googlemail.com
Sat Jul 12 12:44:24 EDT 2008
Sorry I wasn't trying to suggest a solution for your problem. I was just
trying to narrow down where the increase in memory is coming from.
I suspect that the cause is initializing or calling into the core libraries
but I can't isolate that bit.
From: ironruby-core-bounces at rubyforge.org
[mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Aaron Clauson
Sent: Saturday,12 July 12, 2008 15:33
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] Memory Usage Tests
Peter Bacon Darwin wrote:
> If you only have the CreateScope method and not the Execute method in
> loop then there is no memory increase.
> With both in the loop you get a linear increase in memory usage, even if
> regularly force a Garbage Collection, of approximately 10K per
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.
Posted via http://www.ruby-forum.com/.
Ironruby-core mailing list
Ironruby-core at rubyforge.org
More information about the Ironruby-core