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

Memory Usage Spike for large xmls strings

Open smohanty92 opened this issue 11 months ago • 1 comments

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.

smohanty92 avatar Mar 22 '24 17:03 smohanty92

Thanks @smohanty92 for submitting your issue.

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

chrisbottin avatar Apr 25 '24 16:04 chrisbottin