What's this ?
#1

After compiling my script i get this whats the problem with this??


Код:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:          11284 bytes
Code size:          2202964 bytes
Data size:          9174136 bytes
Stack/heap size:      16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:11404768 bytes
Reply
#2

There is no problem, it's just the compiler.
Reply
#3

Add this to top
pawn Код:
#pragma dynamic 11404768
Reply
#4

Just optimize the script!! #pragma dynamic is a workaround, not a fix! My 17k lines script cannot generate this warning.
Reply
#5

I got 95k lines and i never experience any issues with a warning compiler, also i do not have any warning, it's interesting since you don't get any warning from a line, just a compile warning
Reply
#6

Quote:
Originally Posted by HarlemSAMP
Посмотреть сообщение
I got 95k lines and i never experience any issues with a warning compiler, also i do not have any warning, it's interesting since you don't get any warning from a line, just a compile warning
Thats because in most cases one line wont cause this warning (its possible though)

Here is an examples how to case that warning
pawn Код:
stock Func1() {
    new // a little bit over 4000 cells in one func
        array1[8],
        array2[16],
        array3[32],
        array4[64],
        array5[128],
        array6[256],
        array7[512],
        array8[1024],
        array9[2048]
    ;
}
Also if this warning appears the stack and the heap can collide, means data lose within a function
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)