Closed 3cp closed 4 years ago
Looking into this now. First results were inconclusive. It looked like it was working at first, but one of the threads still climbs over 1gb, which doesn't seem right to me.
So, I'm doing some memory profiling now. Going to examine heap snapshots. Will let you know!
Looks good!
I pre-loaded it with one large file (149,382,687 bytes)
This is the heap comparison of before -> after mock.restore()
.
For good measure, I also mocked & restored repeatedly with the same data about 6 times in a row. Reported memory use in task manager stayed the same.
Thanks for the fast work! BTW, Have you had a chance to look at my PR?
@tschaub can we merge this?
@3cp - yes please. Are you able to? Every time I get the notification, I’m not on a device that is allowed to merge with the failed test.
I cannot. Tried to skip win32 node 12 in CI, but GitHub is not happy about it, maybe I missed some config.
Thanks for the fix, @3cp. Sorry it took so long to get in.
Can we get a release 🙏 ?
closes #302