Serious RAM Problem
#1

Hi babies

I have problem with high RAM usage on VPS.
I know that my problem is in the gamemode... I have tested that by finding and replacing all "return 0" to "return 1" and there was actually no RAM usage at all but the server was fucked up... so my question is where should i put return 1 to make the server to use less RAM... ?

When i say RAM usage i mean "RAM usage from nothing"
eg: For 1 hour the RAM Usage is increased up by 100MB with no players at the server...
Reply
#2

returning 1 or returning 0 is the same SHIT.
Try searching for useless variables, as well try to reduce the size of the strings just for the required.
Reply
#3

Quote:
Originally Posted by Kikito
Посмотреть сообщение
returning 1 or returning 0 is the same SHIT.
Try searching for useless variables, as well try to reduce the size of the strings just for the required.
I have 2 gamemodes... they are same but the only difference is that in the first i have changed all return 0 to return 1, and on the other gamemode everything is normal... When i upload the gamemode with changed returns than i have reduced ram usage, but with the other gamemode the ram usage is very high... So there is something with my gamemode And i have a lot variables too
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)