node-memwatch
node-memwatch copied to clipboard
improve leak detection heuristics
the current heuristic is very simple, it just looks for consecutive growth over 5 successive GCs.
We can do better, yes we can.
I don't know whether this is related but memwatch is not notifying me about memory leaks but i can see the memory usage go way up in htop. I'm doing this in a test environment specifically build to test the node app so there is nothing else that eats memory.
The memory increase initially is quite quick. About 50mg up for 1 min and then is not by much but it is steady.
So, could this be related?