Re: [Development] is it possible to increase the max. document size for the JSON parser?

2019-08-06 Thread René J . V . Bertin
>07.08.2019, 02:21, "Sérgio Martins via Development" >: >> 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. I think I would have noticed anything more sub

Re: [Development] is it possible to increase the max. document size for the JSON parser?

2019-08-06 Thread Konstantin Tokarev
07.08.2019, 02:21, "Sérgio Martins via Development" : > 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.

Re: [Development] is it possible to increase the max. document size for the JSON parser?

2019-08-06 Thread Sérgio Martins via Development
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 occupie

Re: [Development] is it possible to increase the max. document size for the JSON parser?

2019-08-06 Thread Sérgio Martins via Development
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 th

Re: [Development] is it possible to increase the max. document size for the JSON parser?

2019-08-06 Thread Thiago Macieira
On Tuesday, 6 August 2019 04:47:01 PDT René J. V. Bertin wrote: > Hello, > > I have a 114Mb big JSON file that I'd like to be able to parse but that is > rejected because of its size. > > Is it possible to rebuild Qt with a larger maximum document size for the > JSON parser? I found the Value::Ma

Re: [Development] is it possible to increase the max. document size for the JSON parser?

2019-08-06 Thread René J . V . Bertin
Joerg Bornemann wrote: > Unfortunately, this isn't possible at the moment. > This issue is tracked in QTBUG-47629. Thanks, I'll try the patch! R. ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development

Re: [Development] is it possible to increase the max. document size for the JSON parser?

2019-08-06 Thread Joerg Bornemann
On 8/6/19 1:47 PM, René J. V. Bertin wrote: > I have a 114Mb big JSON file that I'd like to be able to parse but that is > rejected because of its size. > > Is it possible to rebuild Qt with a larger maximum document size for the JSON > parser? Unfortunately, this isn't possible at the moment.

[Development] is it possible to increase the max. document size for the JSON parser?

2019-08-06 Thread René J . V . Bertin
Hello, I have a 114Mb big JSON file that I'd like to be able to parse but that is rejected because of its size. Is it possible to rebuild Qt with a larger maximum document size for the JSON parser? I found the Value::MaxSize token which is somehow related to the too- large error, understand you