igroglaz / srvmgr

https://rom2.ru
8 stars 5 forks source link

memory leak at server #21

Closed igroglaz closed 4 years ago

igroglaz commented 4 years ago

There is a problem with server:

when I launch it - initially the RAM load is 40%. but gradually, it grows - in 9 hours it become ~60% and after a while it become close to 100% (even if there are no players on the hat). Apparently after each map change - server crookedly cleans the memory buffer or something

So without periodic reboots, the hat cannot work in principle.

igroglaz commented 4 years ago

https://github.com/igroglaz/srvmgr/commit/a69d27a111d95fc3d9ec06c6d129aec2bd91ea2a