What should I do to solve this error in Qvector?
-
@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?
- memory map has position of value, which store in data file.
- 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.
wrote on 18 Jan 2020, 10:07 last edited by JonB@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.
-
@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.
wrote on 10 Feb 2020, 18:19 last edited by@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.