I am trying to track down a crash that happens when I emphasize my C # code and work in low memory conditions. However, in some cases, instead of getting an OutOfMemoryException, my program just crashes and exits. This is usually caused by memory corruption due to a buffer overrun or due to (or corruption).
So, is there a way to run a heap integrity check, or is there a way to check how much stack is left in the stream?
I use a lot of insecure code for speed reasons, so it is likely that I have code that distorts memory somewhere. Unfortunately, the accident happens by chance after corruption occurs. I understand that C # closes the application when it detects a buffer overflow, but is there a way to get it to perform a check?
Thanks.
source
share