Pawn Compiler Help
#1

Hi, I am making a RP gamemode, and there is no Warnings and/or Errors, and until yesterday, my pawn compiler "reported" just this:

Код:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
But now, i get this:

Код:
Header size:           8868 bytes
Code size:          1238064 bytes
Data size:         61819512 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4117 cells (16468 bytes)
Total requirements:63082828 bytes
Can somebody explain me what that is??

Thanks!
Reply
#2

thats not a problem !
its that script is very big
Reply
#3

not really i have observed it happens becasue of use of long length in cell size
e.g. new str[5000] will give this error
Reply
#4

go to the pawno-menu "Build", > "Run options", and in the 3rd box "With these parameters:", add "-S 8192" to the already existing "-r", so it becomes
Код:
-r -S8192
pay attention not to write a lowercase "-s", it has to b be "-S"
Reply
#5

Huh, this last post, I will try that.. I am not on computer right now...

I have string with [922] cause it has about 922 characters.
Reply
#6

Hmm. That is weird. I got this same thing on my compiler when I just added "break;" in the wrong spot by accident. So large local arrays might not be an only cause?
Reply
#7

yes, a large switch/case statement, tons of if/else-if's, any recursioon (functions calling functions/themself in the worst case) can cause that... concerning strings: i got some [4096] string sizes, and yes, they ARE being used
Reply
#8

I dont even think how is possible to use huge cell size beside for MySQL? (if used)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)