I am using Visual Studio 2019 and am fairly new to it. I am producing an optimization experiment for a coursework which involves large amounts of memory, specifically two multidimensional arrays containing decision variables, one array contains 324000 decision variables and the other 360 decision variables. Visual Studio issues a warning stating:
warning C6262: Function uses '2598384' bytes of stack: exceeds /analyze:stacksize'16384'. Consider moving some data to heap
Upon running the code i receive the error:
Unhandled exception at 0x00007FF70BAA2B58 in busScheduleTimetableModel.exe: 0xC00000FD: Stack overflow (parameters: 0x0000000000000001, 0x0000007C11093000).
My question is, is it simply that the machine on which i am running this program cannot handle this?
Many thanks in advance for any help =)
User contributions licensed under CC BY-SA 3.0