Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mythfilldatabase: reduce memory usage.
Mythfilldatabase uses QDomDocument to parse and store the XML data that is read; according to QDomDocument documentation this object is not meant to handle large XML files; QXmlStreamReader should be used in these situations. This commit replaces QDomDocument by QXmlStreamreader. A test showed that memory usage dropped from 5.6 GB to 698 MB. Fixes #13517 Signed-off-by: Peter Bennett <pbennett@mythtv.org> (cherry picked from commit a9aa006)
- Loading branch information