PAWN Complimer Output
#1

Quote:

Header size: 4580 bytes
Code size: 287520 bytes
Data size: 242056 bytes
Stack/heap size: 16384 bytes; estimated max. usage=8656 cells (34624 bytes)
Total requirements: 550540 bytes

How can I lower the Total Requirements?
Reply
#2

By using less memory. Decrease the size of your variables.

To be honest, large resource-intensive gamemodes are always going to go over the memory limit unless you're EXTREMELY memory efficient and/or have not much stuff.

The memory allowance can be set using #pragma dynamic. Your script wants 550540. Set it above that and it should be fine.

See these topics for help with optimisation:

https://sampforum.blast.hk/showthread.php?tid=55261
https://sampforum.blast.hk/showthread.php?tid=57018

FYI: 550540 bytes is 0.525036 MB.

EDIT: Actually, you may want to set #pragma dynamic just higher than 34624 (36,000 perhaps). I think this is the memory that matters in this case. I'm not 100% sure.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)