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. Data management
Qt 6.11 is out! See what's new in the release blog

Data management

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 663 Views 2 Watching
  • 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
    Alexanov
    wrote on last edited by kshegunov
    #1

    Hi
    I wrote a code to create QByteArray like this:

    QByteArray qbDatagram;
        for(int i = 8019; i >=0;i--)
        {
            qbDatagram[i] =i;
        }
    

    Then I want to put 10e7 (10 Million ) qbDatagram packet side by side, like below:

    for (int l=10000000; l>0,l--){
    varaiable or object or ... = + qbDatagram;
    }
    

    qbDatagram(8019)+qbDatagram(8019)+..10M..+qbDatagram(8019)
    But i don't know how ? and with which type of var or object or ... we can support to save huge data in it?
    QByteArray alone support 2GB capacity.

    [Duplicate of https://forum.qt.io/topic/79905/how-to-store-udp-packet-for-some-second-in-ram ~kshegunov]

    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