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. What should I do to solve this error in Qvector?
Forum Updated to NodeBB v4.3 + New Features

What should I do to solve this error in Qvector?

Scheduled Pinned Locked Moved Solved General and Desktop
qvectorqcoreapplicatioqt5.12.3
22 Posts 7 Posters 5.7k Views 1 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.
  • Y Yash001
    17 Jan 2020, 21:13

    @JonB said in What should I do to solve this error in Qvector?:

    Maybe you should make your app 64-bit and also buy more memory,

    I trying to build application in 64 bits and test it same things occur.

    Is it worth to create the temp file for memory map and data?

    1. memory map has position of value, which store in data file.
    2. whenever I need to read the value , at that time with help memory-map file I do have address of data, and after that read the value from temp file.

    to make more speed operation I should use large Queue<qreal>.
    in starting phase few data point will store in queue if queue is full then write the full queue in files.

    I did not have clear though about reading operation for making speed up from index.

    J Offline
    J Offline
    JonB
    wrote on 18 Jan 2020, 10:07 last edited by JonB
    #21

    @Yash001
    As @Christian-Ehrlicher & I have suggested, maybe you should really be down-sampling to reduce your data points.

    Having said that, if you are saying that a properly-compiled 64-bit now bombs out in the same way as 32-bit at what we think is only half a gig of so of memory on a machine with plenty of free RAM, something sounds wrong there. You could do some more investigations on the machine, seeing how much you are really allocating and how much free memory you are able to access. I would want to understand that before I figured what I need to save away to file or whatever.

    Y 1 Reply Last reply 10 Feb 2020, 18:19
    3
    • J JonB
      18 Jan 2020, 10:07

      @Yash001
      As @Christian-Ehrlicher & I have suggested, maybe you should really be down-sampling to reduce your data points.

      Having said that, if you are saying that a properly-compiled 64-bit now bombs out in the same way as 32-bit at what we think is only half a gig of so of memory on a machine with plenty of free RAM, something sounds wrong there. You could do some more investigations on the machine, seeing how much you are really allocating and how much free memory you are able to access. I would want to understand that before I figured what I need to save away to file or whatever.

      Y Offline
      Y Offline
      Yash001
      wrote on 10 Feb 2020, 18:19 last edited by
      #22

      @JonB said in What should I do to solve this error in Qvector?:

      if you are saying that a properly-compiled 64-bit now bombs out in the same way as 32-bit at what we think is only half a gig of so of memory on a machine with plenty of free RAM,

      earlier I was doing mistake while creating 64 bit application version. I am using visual studio while creating 64 bit application I was just copied all setting of 32 bit application, So That in Solution platform it was showing x64 but it was creating 32 bit executable file.

      I created 64 bit application version, which is save very large amount of data in RAM.

      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