[help] Debug info
#1

Quote:

[10:34:53] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
[10:34:53] [debug] Stack index (STK) is 0x61DF98, heap index (HEA) is 0x61F4A0
[10:34:53] [debug] AMX backtrace:
[10:34:53] [debug] #0 00384f1c in SaveCar (playerid=61) at GameMode.pwn:34225

This is a long mysql query, and line 34225 is the last part of it(the query is split into multiple format functions).
I don't know if it has anything to do with this:
pawn Код:
#pragma dynamic 15000
I have this at the end of my script.

P.S. I should note, that the query is 4048 cells.
Reply
#2

If i was you i'd split the query into two separate queries (halfing the size of the array), so you don't have to use "#pragma dynamic".

Or a not so good idea, make the array global.
Reply
#3

Quote:
Originally Posted by iggy1
Посмотреть сообщение
If i was you i'd split the query into two separate queries (halfing the size of the array), so you don't have to use "#pragma dynamic".

Or a not so good idea, make the array global.
Why would you avoid pragma dynamic? I guess I'll just raise it's value.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)