Original Post
I've used _crtBreakAlloc to find memory leaks before, but now its giving me a wierd problem. My program breaks out as if I had set _crtBreakAlloc myself with a value of -1. I know -1 is the value given at the start of a run to prevent the program breaking, yet it breaks out as if it got to allocation number -1?!?! This problem only occurs after I've been running the program for several hours (generally overnight) so its really hard to know where its all going wrong. Is it perhaps an out of memory error or something? Any insights much appreciated.