node-xml icon indicating copy to clipboard operation
node-xml copied to clipboard

Mocha reports variable leaks into global scope

Open forissier opened this issue 12 years ago • 2 comments

Mocha (http://visionmedia.github.com/mocha/) reports some errors in a projet of mine that uses SaxParser(). For instance: Error: global leak detected: util Error: global leaks detected: iRet, theatts, splits, nameobject, that

forissier avatar Mar 14 '13 10:03 forissier

mocha still reports leaks: Error: global leaks detected: iRet, theatts, splits, nameobject, that, theattsandnamespace, strEnt

Would it be nice if node-xml come with a set of unit test ?

erossignon avatar Aug 05 '14 15:08 erossignon

Looks like node-xml has a leak in the memory. At least if I am running mocha with "--check-leaks" check its working. Now I thinking to find another library because I don't want to have any leaks in memory in my project.

mgoldverg-equinix avatar Oct 19 '15 19:10 mgoldverg-equinix