02.02.2020, 13:17
Hi, I have question for server optimization.
Code lines is 60-70k without maps ( I use them as include ), but in last time I'm focused on memory because I have problems in the last оpenings on my server. I have changed strings size ( much lowered memory ), OnPlayerUpdate I eradicated him from work, I changed most of them from FOR to FOREACH, etc.
My question is: Is my memory good ? How much memory is sufficient on the server, are there possibilities of lag / crash on the server, am I using pragma correctly and give me some tips on how to use the memory.
My memory ( I used pragma dynamic 2000 ):
Thanks
Code lines is 60-70k without maps ( I use them as include ), but in last time I'm focused on memory because I have problems in the last оpenings on my server. I have changed strings size ( much lowered memory ), OnPlayerUpdate I eradicated him from work, I changed most of them from FOR to FOREACH, etc.
My question is: Is my memory good ? How much memory is sufficient on the server, are there possibilities of lag / crash on the server, am I using pragma correctly and give me some tips on how to use the memory.
My memory ( I used pragma dynamic 2000 ):
HTML Code:
Header size: 20900 bytes Code size: 6723136 bytes Data size: 30546032 bytes Stack/heap size: 80000 bytes; estimated max. usage: unknown, due to recursion Total requirements:37370068 bytes