Header Size, Stack - Pawn Compiler ERROR -
Airman123 - 03.04.2015
Код:
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 19036 bytes
Code size: 1327124 bytes
Data size: 43915204 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:45277748 bytes
How to fix this!!!
Please help me.
Re: Header Size, Stack - Pawn Compiler ERROR -
Golf - 03.04.2015
You're probably using huge variables. Try optimising your code.
Also check #pragma dynamic
Re: Header Size, Stack - Pawn Compiler ERROR -
Airman123 - 03.04.2015
Hey, i tried that. IT gave me so much errors.
EDIT: how to optimize?
Re: Header Size, Stack - Pawn Compiler ERROR -
arlindi - 03.04.2015
Check your variables
This make server lagg if you know
Re: Header Size, Stack - Pawn Compiler ERROR -
Golf - 03.04.2015
use value -* - * -
Re: Header Size, Stack - Pawn Compiler ERROR -
Airman123 - 03.04.2015
Can someone be more specific.. i can't understand what to do exactly..
what u mean use *_*
You mean i check string cells?
Re: Header Size, Stack - Pawn Compiler ERROR -
wooolly - 03.04.2015
I don't think its really an error, since it still compiles. I have the same issue, as others said, string sizes (probably local strings) are too big, reducing string sizes might get rid of the problem.
I haven't fixed the issue on my own server yet, I'm stil in process of reducing all string sizes and making a better solution
Re: Header Size, Stack - Pawn Compiler ERROR -
Patrik356b - 03.04.2015
This is a warning. If you have an error the compiler will tell you there is an error at line N and of what type
Very complex scripts can archive this warning too, despite being optimized. Optimizations should be made though.
Re: Header Size, Stack - Pawn Compiler ERROR -
Airman123 - 04.04.2015
I tried, decreasing the string cells, e.g string[1000]; to string[256]; e.t.c
But its bugs the msg, and doesn't shows the whole message (formatted message in dialogs)
What to do?
AW: Header Size, Stack - Pawn Compiler ERROR -
Mencent - 04.04.2015
Hello!
If you get this warning in your compiler, then write right up under the includes this:
PHP код:
#pragma dynamic 1000000
If the warning doesn't go away you must increase the number.
Quote:
But its bugs the msg, and doesn't shows the whole message (formatted message in dialogs)
|
If the message bugs, then you must increase the length of the string.