SA-MP Forums Archive
Mini Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Mini Help (/showthread.php?tid=613415)



Mini Help - Zorono - 27.07.2016

Please do anyone know how to fix this ??
Код:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:          27124 bytes
Code size:          3263856 bytes
Data size:         55632504 bytes
Stack/heap size:    2227968 bytes; estimated max. usage: unknown, due to recursion
Total requirements:61151452 bytes



Re: Mini Help - AlexPalermitano97 - 27.07.2016

This is not error but this is a pawn compiler


Re: Mini Help - Zorono - 27.07.2016

Quote:
Originally Posted by AlexPalermitano97
Посмотреть сообщение
This is not error but this is a pawn compiler
iam talking about this lines
Код:
Header size:          27124 bytes
Code size:          3263856 bytes
Data size:         55632504 bytes
Stack/heap size:    2227968 bytes; estimated max. usage: unknown, due to recursion
Total requirements:61151452 bytes



Re: Mini Help - Gammix - 27.07.2016

Mini is eating so much bytes than required. A good fix i use is to make use of static for string types which saves alot bytes, cause it's only created once but accessed in multiple run times, but make sure you empty the variable when used in strcat and relevant functions.

Another solution is: (not recommended mostly)
pawn Код:
#pragma dynamic (your_value)



Re: Mini Help - ThePhenix - 27.07.2016

Quote:
Originally Posted by Zorono
Посмотреть сообщение
iam talking about this lines
Код:
Header size:          27124 bytes
Code size:          3263856 bytes
Data size:         55632504 bytes
Stack/heap size:    2227968 bytes; estimated max. usage: unknown, due to recursion
Total requirements:61151452 bytes
- You need to optimize your script.
- If you're using PAWN debug mode, disable it.
- Increase heap size like Gammix said even though it's not recommended.


Re: Mini Help - austin070 - 27.07.2016

The issue is with the memory usage of your gamemode. There are numerous possibilities of things that could be causing memory issues. Read some things about efficient coding. There are methods to keep memory usage to a minimum.