• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] [Solved] Why Game mode amx size has increased?
#1
I made some changes to the Game Mode today, after a few hours I saw that the size of Game Mode amx increased from 4 MB to 19 MB.

Compilation time also increased from 10 seconds to seconds.

I don't remember what I did that caused it

even I optimizing well.



Compiler:

Zeex - https://github.com/pawn-lang/compiler/releases



Game Mode Includes:

Code:
#include <a_samp>

#include <a_mysql>

#include? <jit>



#include "../include/nex-ac.inc"

#include <weapon-config>



#define YSI_NO_VERSION_CHECK

#undef MAX_PLAYERS

#define MAX_PLAYERS 200



#include?<streamer>

#include <colandreas>

#include <3DTryg>

#include?<sscanf2>

#include <YSF>

#include <PreviewModelDialog>

#include <progress2>

#include <mSelection>

#include <foreach>

#include <formatex>



Code:
Header size:? ? ? ? ? 32596 bytes

Code size:? ? ? ? ? 6266484 bytes

Data size:? ? ? ? 38666848 bytes

Stack/heap size:? ? ? 16384 bytes; estimated max. usage=3072 cells (12288 bytes)

Total requirements:44982312 bytes

[Finished in 67.0s]



Solved:



weapon-config include had caused this.
  Reply


Messages In This Thread
[Solved] Why Game mode amx size has increased? - by Radical - 2021-05-12, 04:18 PM

Forum Jump: