Beyond Memory Leaks in JavaScript
Daniel Reis

Hi Daniel,I tried the same example as you used but get the following output.

as you can see the Node count drops but the JS Heap do not reset to its original state(still a little increase). So, maybe it’s better to determine the memory leaks by the Node count?

following is the code I’m using: