saveXml() serializes to a string which instantly doubles the memory
usage. Since the DOMDocument API doesn't allow us to write to the
php://temp stream we write to a temporary file instead.
Details
Details
- Reviewers
- None
- Group Reviewers
Syncroton Developers - Commits
- rS6a795d53eefc: Avoid serializing to string
Diff Detail
Diff Detail
- Repository
- rS syncroton
- Lint
Lint Not Applicable - Unit
Tests Not Applicable