Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Reduce leaked memory via domains and timers #681
This commit improves retained memory usage in a few ways.
There are other improvements to be made in both lab and hapi, but I think this is a good first step. Using a modified version of hapi, I took heap snapshots in a process exit handler and saw memory usage drop from ~45MB to ~19MB when running the test suite.