-
Notifications
You must be signed in to change notification settings - Fork 390
XML parsing not in chunks, parser out of memory #598
Copy link
Copy link
Closed
Description
This started as a wordpress issue for me but the issue roots from SimplePie so reporting here as well. SimplePie reads xml file as a single large chunk instead of multiple chunks and the parser goes out of memory because there seems to be a per chunk memory limit in the underlying php xml_parse function.
Code in question - https://github.com/simplepie/simplepie/blob/master/library/SimplePie/Parser.php#L167-L172
Potential fix and more context here - https://wordpress.org/support/topic/xml-parsing-not-in-chunks-parser-out-of-memory/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels