Open alexgarbarev opened 4 years ago
@Jeff-Lewis ping(
Any updates on this @Jeff-Lewis ?
It looks like we have to
disable
hook, when namespace is destoryed. Otherwise it would live forever and hence it would retain namespace object with all it's massive _context.
You haven't yet noticed that cls-hooked has a major memory leak?
See:
https://github.com/Jeff-Lewis/cls-hooked/issues/63
And btw: a performance problem as well?
It looks like we have to
disable
hook, when namespace is destoryed. Otherwise it would live forever and hence it would retain namespace object with all it's massive _context.More details how I replicated and fixed the issue described here: https://github.com/liberation-data/drivine/issues/35#issuecomment-637567531