Should I be concerned about this AMX size?
#1

After noticing my AMX file is 85MB and my PWN is 992KB I was concerned that the AMX shouldn't be that much...Would this have any affect on game play?

I'm almost about to cry, but any advice would help.

Thanks,
Grant.
Reply
#2

no but sometimes the amx file size may effect as due to false compilations (runtime errors) and increased array indexes
but for file size 999kb 85 mb is good
Reply
#3

I did have a slight heart attack. Thank you for your kind reply. I appreciate it.
Reply
#4

Do you perhaps have unreasonably large arrays? An increase of that magnitude seems a bit odd.
Reply
#5

Uhhh, I've been through them, not really seeing anything abnormal entirely.
Reply
#6

One current gamemode that I have is 75mb and nothing is wrong with it.
Reason for that was the high limit of arrays / defines
Reply
#7

Well, most of the gamemodes I've seen did not exceed the size of 10mb.
The compiled file size depends not only on the gamemode size itself, but also on the includes. This being said, I assume that most of your script consists in includes.
Reply
#8

Most of it is actually in the game mode itself, I don't use many includes.
Reply
#9

Using lots of switch cases (eg. case 0...100000) can also cause bigger .amx size.
You definately should be concerned, not that the server couldn't handle it, but it's just a waste of space, normal compiled gamemodes with lots of features should be 10-30 MB max.
Reply
#10

This is a concern, you probably are using oversized strings or infinite loops or leaking memory.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)