Search the Community
Showing results for tags 'exception'.
I'm aware the files will be needed in order to reproduce the problem but since they are quite large (~5GB) I wanted to first see if anyone else has come across crashes like this: Unhandled Exception at 0x00401DB1 : Fatal program exit requested I've attempted to debug the problem myself but as you'd expect with such little information it has been quite difficult. These crashes generally occur after about 10 - 15 minutes of play time either at the start or middle of a map.
In my game I store six 2049 x 2049 height-maps in a dynamically created array, like this; size_t mapSize = 2049 * 2049; float* map = new float[mapSize];//approx 16mb When the app closes they are destroyed like this; delete map; As far as I can tell, the more data I load in this way, the app will eventually crash with a "bad_alloc" or "memory exception". It doesn't crash when it allocates for the new map I'm loading, it crashes later on when I'm allocating storage for something else. It could be another set of 16mb or the set of 50mb being allocated. Everything will b