- #1
ecastro
- 254
- 8
- TL;DR Summary
- I have written a C++ code in Visual Studio 2019 and it works when reading a small amount of data but suddenly ends after reading a huge set of data.
I have written a C++ code in Visual Studio 2019 that requires an input tab-delimited text file and outputs a text file that is also tab-delimited. The data within the text file are stored in a vector and then it will perform calculations, whose results will then be written in a text file as well. The code works for a small set of data (like 100 data points), however when I try to read a huge set of data (around 30 million points), the code just suddenly ends as if the calculations were done, but the output files are empty; it doesn't return any errors, it just ends.
I first thought that it might be the format of the data but I took a small subset from the huge set of data and it works. I have also defined the stack reserve size to 500,000,000, still no luck. What could be the problem?
Thank you in advance.
I first thought that it might be the format of the data but I took a small subset from the huge set of data and it works. I have also defined the stack reserve size to 500,000,000, still no luck. What could be the problem?
Thank you in advance.