-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
memory leaks #1
Comments
I can reproduce your problem but am not sure what to do. The culprit seems to be node invoking the v8 GC only after 2s of idle time. With manual usage of "node-gc" the script runs in constant space:
I could also need help running node with valgrind. :-) |
Аfter some code refactor parser started deleting. my fault, Thanks for your advice |
Please test commit b362d93. I replaced expat's memory alloc functions and pass the size deltas to v8. This way, the GC gets invoked more often because it sees demand. I didn't observe performance regressions. |
Try to create and delete parser obj, and memory will leak
The text was updated successfully, but these errors were encountered: