I am storing images in memory, so it takes 30mb+ to store it all, (2048*2048 and even more when exporting as .bmp) so I need to increase the stack size. (Or so I read.) The post I read says change the 'Stack reserve size' and 'Stack commit size,' but I don't want to go changing settings like that without really knowing.
I'm dealing with a 2D array of 2048^2 (36mb bytes because it's of type struct with 3 chars in the struct) and when saving it it has a 1D array size of 38000000 bytes to store all things in memory temporarily.
Can someone please tell me how to increase the stack size to this amount?