I had built my C++ code in Visual Studio for a smaller datasize to make it scalable. Now when I scaled it for huge data, it is showing me the error "C1060 compiler is out of heap space" and the code got terminated. I ran the same code on Dev C++, where it ran but I got the warning message that "out of memory allocating 1073745919 bytes".
I am using four 4D arrays and so many functions in my code. So, while searching for the solution, I got to know about the use of heap space instead of the stack, so I had moved the arrays to the heap by using 'new' operator in C++. Still, I am getting the same error message. Is there any coding command, by which I can run my code successfully? Or any other way also works.
Thanks in advance!