Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-58652

Allow large files in QJson parser

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.15
    • 5.8.0
    • None
    • Windows

      Hello everyone!

      I came across the error message "document too large" when I tried to parse a 135 MB JSON file. It seems there is an arbitrary limit of Value::MaxSize although I have enough RAM memory available on the machine.

      I found out this limit was introduced with this bug fix: QTBUG-29288

      However, I wonder if the bug with too large files couldn't be fixed without the fixed limit. I took a look at the source code, but as I do not have the full insight in all the dependencies of such low-level functionality, I want to ask you experts for help/advise/fix.

      Thank you and best regards,
      Daniel

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            laknoll Lars Knoll
            dhoegerl Daniel Hoegerl
            Votes:
            9 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes