Skip to content
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 Usage Spike for large xmls strings #71

Open
smohanty92 opened this issue Mar 22, 2024 · 1 comment
Open

Memory Usage Spike for large xmls strings #71

smohanty92 opened this issue Mar 22, 2024 · 1 comment

Comments

@smohanty92
Copy link

Hi!

I have a String of xml that could be ~200MB in size.

Calling xmlFormatter(xmlContent, { throwOnFailure: false }) on it causes Node's heap to keep growing. It gets close to 4GB and can OOM.

@chrisbottin
Copy link
Owner

Thanks @smohanty92 for submitting your issue.

I will see if there is anything obvious causing this memory issue.

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

No branches or pull requests

2 participants