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

Kane Baccigalupi lists at ruby-forum.com
Mon Feb 14 18:53:18 EST 2011

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?

Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list