[rspec-users] (Bad) Memory Leak in RSpec 2

David Chelimsky dchelimsky at gmail.com
Mon Feb 14 19:58:45 EST 2011

On Feb 14, 2011, at 21:53, Kane Baccigalupi <lists at ruby-forum.com> wrote:

> Kane Baccigalupi wrote in post #981670:
>> We can try a global, but it isn't an ideal situation.
> So, we did replace @dom with $dom. That meant we could go back to doing 
> no manual garbage collection, and in fact we didn't even have to set the 
> global to nil between test files.
> Doesn't that imply that RSpec 2 is holding on to stuff that could lead 
> to memory leaks in big tests for other folks too?

Clearly. That's why I said "workaround" :)

Would you do me a favor and submit an issue to http://github.com/rspec/rspec-core/issues?


More information about the rspec-users mailing list