assaf/zombie — pull request #401 by johanoverip (2012-08-17 14:36:16+00:00)
Title: Added possibility to completely destroy a browser object, clearing all memory

This is my solution to #397. It adds a Browser::destroy() method that will clear out any memory in use by the browser, including all JSDOM DOMWindows. Using this I left the tester running about 1000 tests per minute for 30 minutes and max memory usage only went up from 400 MB to 420 MB, which is a lot more manageable than the previous increase of 300 MB per minute.

P.S: Sorry about the removed line breaks at the end of the files, my editor seems to dislike ending newlines.