[Development] is it possible to increase the max. document size for the JSON parser?
Sérgio Martins
sergio.martins at kdab.com
Wed Aug 7 01:19:33 CEST 2019
On 2019-08-06 22:49, Sérgio Martins via Development wrote:
> On 2019-08-06 13:48, René J. V. Bertin wrote:
>> Joerg Bornemann wrote:
>>
>>> Unfortunately, this isn't possible at the moment.
>>> This issue is tracked in QTBUG-47629.
>>
>> Thanks, I'll try the patch!
>
> Can you also check how much memory is occupied by reading that 100 MB
> file ?
> My memory is hazy but I think it was several GBs.
I looked at it again and the test-case was flawed, it was using unneeded
QStrings and QString::toUtf8().
By reading directly from the file heaptrack now reports only 300 MB
peak.
Regards,
--
Sérgio Martins | sergio.martins at kdab.com | Senior Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - The Qt, C++ and OpenGL Experts
More information about the Development
mailing list