This repository has been archived by the owner on Jan 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 209
There are errors in your xml file: out of memory #151
Comments
This plugin does not stream the file so the whole file is loaded into memory. Hence, the error you have. |
@aakashmalhotra is right, even though we use node-expat which parses the XML document in streaming, we don't stream the resulting JSON structure out of the function. |
Isn't it a good idea to add an option to make it a stream? |
@Matthbo, yes, it would be useful with big documents. I just don’t currently have the bandwidth to do it :/. Although, I’m open to reviewing contributions! |
I'm handling a 8G xml file. It's have the same problem for me. Hope it support streamable API in 2021 |
Hi @cangSDARM, you can use if you are dealing with huge files https://github.com/astro/node-expat |
@aakashmalhotra Thanks. I'll check that. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a 1.7GB xml file which is exported from FileMaker Pro. When I use this module to parse it, it returns
Is there any way to solve it? I already add the parameter "--max-old-space-size=4096" but it doesn't work
The text was updated successfully, but these errors were encountered: