Header Size, Stack - Pawn Compiler ERROR
#1

Код:
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.
Reply
#2

You're probably using huge variables. Try optimising your code.

Also check #pragma dynamic
Reply
#3

Hey, i tried that. IT gave me so much errors.

EDIT: how to optimize?
Reply
#4

Check your variables

This make server lagg if you know
Reply
#5

use value -* - * -
Reply
#6

Can someone be more specific.. i can't understand what to do exactly..

what u mean use *_*

You mean i check string cells?
Reply
#7

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
Reply
#8

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.
Reply
#9

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?
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)