MySQL related question
#9

Quote:
Originally Posted by Nero_3D
Посмотреть сообщение
You array takes 76 * 64 * 4 Bytes = 19456 Bytes
And it seems that you are allocating even more data in that function thus the 49636 Bytes

Solutions
1. Increase the stack / heap size with #pragma dynamic cells (default 16 kB = 16384 B)
2. Use static which will saves the data globally (into the amx file)

If you want to reduce the allocated size you only need to find a better way than explode, maybe sscanf
I have tried to use sscanf for doing this, but then I would need to specify ALL the arguments, wouldn't I? Like "siiiiiissiissisisisis" (Just an example, I know strings have sizes)
Reply


Messages In This Thread
MySQL related question - by hellangel - 26.11.2011, 15:13
AW: MySQL related question - by Nero_3D - 26.11.2011, 15:40
Re: MySQL related question - by hellangel - 26.11.2011, 15:47
AW: Re: MySQL related question - by Nero_3D - 26.11.2011, 15:58
Re: MySQL related question - by hellangel - 26.11.2011, 18:18
AW: Re: MySQL related question - by Nero_3D - 26.11.2011, 19:26
Re: MySQL related question - by CounterTerroristUnit - 26.11.2011, 20:12
AW: MySQL related question - by Nero_3D - 26.11.2011, 21:27
Re : AW: MySQL related question - by hellangel - 01.12.2011, 12:16

Forum Jump:


Users browsing this thread: 1 Guest(s)