Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QJsonObject repetitive write - possible bug

QJsonObject repetitive write - possible bug

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 471 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AndreyMor
    wrote on last edited by AndreyMor
    #1

    I have a large QJsonObject (size of ~40 Mb when saved to json file).

    I call this procedure from the GUI:

    {
      QJsonObject jRC = obj->js["a1"].toObject();
      obj->js["a1"] = jRC;
    }
    

    Note that "a1" holds the most of the content of that object.
    After about ten successful calls I get an error:
    QJson: Document too large to store in data structure

    This is just a demonstrator, I have the same problem in my code.
    Any way around this issue?

    I am using Qt 5.8.0 (Windows 7, MSVC2013 )

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved