[Help] Stack/heap size
#1

I have this with -d3 compile

Код:
	

    Header size:          24152 bytes
    Code size:          5021872 bytes
    Data size:         18298672 bytes
    Stack/heap size:      16384 bytes; estimated max. usage: unknown, due to recursion
    Total requirements:23361080 bytes
Maximum string in my Gamemod is [256];

should i put #pragma dynamic or what?
Reply
#2

I believe Stack/heap size shows when it's compiled as -d3
Reply
#3

Quote:
Originally Posted by pds2k12
Посмотреть сообщение
I believe Stack/heap size shows when it's compiled as -d3
Not only. It's also shown when it's not compiled with -d3 and there's problem with the stack/heap size (when it's shown by itself) and that's bad.

Before increasing the size of the memory, why don't you try to optimise the script a bit? Reduce large arrays that not all the elements are used etc.

Here's a really good thread related to that: https://sampforum.blast.hk/showthread.php?tid=57018
Reply
#4

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Not only. It's also shown when it's not compiled with -d3 and there's problem with the stack/heap size (when it's shown by itself) and that's bad.

Before increasing the size of the memory, why don't you try to optimise the script a bit? Reduce large arrays that not all the elements are used etc.

Here's a really good thread related to that: https://sampforum.blast.hk/showthread.php?tid=57018
Yes thanks, i read that, im trying to optimise much as i can, but maybe i'm doing something wrong.

So i dont know if it's good to use pragma dynamic or just ignore that
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)