Run time error 8: "Heap underflow"
#2

******'s quote.

Quote:

This means that the compiler has detected that you are using more stack/heap space than is available. A lot of important information is stored on the stack, such as who called the current function, so PAWN knows where to return to. If you use too much memory, because of the way information is allocated, you can overwrite the stack information, returning to a random point in code and almost certainly crashing. At the very least you will get corrupted data where it's been overwritten by other data. When people get this message the standard advice is to use "#pragma dynamic", which is a workaround, not a fix - I find it very odd that something the size of YSI can not generate this error but people's tiny scripts can, don't you?

You can fix this problem by converting all floating points to integers.
Reply


Messages In This Thread
Run time error 8: "Heap underflow" - by Vvolk - 21.08.2012, 08:03
Re: Run time error 8: "Heap underflow" - by RanSEE - 21.08.2012, 08:30

Forum Jump:


Users browsing this thread: 1 Guest(s)