-
Notifications
You must be signed in to change notification settings - Fork 493
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
apoc.load.xml on large file generates OoM Errors #2723
Comments
our comments from slack you could try to use xpath instead then it should stream hmm odd, I was sure that load.xml streams but it doesn't seem so neo4j-apoc-procedures/core/src/main/java/apoc/load/Xml.java Lines 115 to 156 in e5abd54
we should change that, esp. with xpath to operate on a stream similar to import.xml |
Feature description
apoc.load.xml should be able to stream during loading of large xml files.
Currently a relatively small xml of 1GB can generate OoM heap errors even when used with a simple cypher statement. For example:
Discussed with @jexp over slack. This is in contrast to
apoc.import.xml(file,config)
which does stream.The text was updated successfully, but these errors were encountered: