https://bugs.kde.org/show_bug.cgi?id=380832

Robby Stephenson <ro...@periapsis.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/tel
                   |                            |lico/1a828b340ca72b18f04c05
                   |                            |a95422f741fffe502a
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Version Fixed In|                            |3.1

--- Comment #3 from Robby Stephenson <ro...@periapsis.org> ---
Git commit 1a828b340ca72b18f04c05a95422f741fffe502a by Robby Stephenson.
Committed on 03/07/2017 at 00:56.
Pushed by rstephenson into branch 'master'.

Split very large XML files into chunks when writing to QTextStream

I could reproduce the crash in Bug 380832 when writing an XML file
aroud 500 MB. Splitting the writing into 100 MB chunks fixed my crash.
I don't know how to pick the best chunk size or how to properly catch
an out of memory (bad_alloc) exception which seems to happen.

I could reproduce the bug in Tellico 2.3.12, so that seems like a bit
different experience than the bug reporter.

Also, as a To DO item, Tellico should switch to using QXmlStreamWriter
instead of QDomDcument::toString() for these big files, especially.
FIXED-IN: 3.1

M  +1    -0    ChangeLog
M  +10   -3    src/core/filehandler.cpp

https://commits.kde.org/tellico/1a828b340ca72b18f04c05a95422f741fffe502a

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to