Skip to content

Conversation

forissier
Copy link

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

Mocha (http://visionmedia.github.com/mocha/) reports the following error
when running tests on code that calls SaxParser().parseString():
  Error: global leak detected: util
Fixes the follwing Mocha error:
  Error: global leaks detected: iRet, theatts, splits, nameobject, that
@erossignon
Copy link

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 ?

@mgoldverg-equinix
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants