celguar / spp-classics-cmangos

SPP Classics repack with ike3 playerbots. Based on cmangos. Supports 1.12, 2.4.3, 3.3.5. Check "Releases" for installer
200 stars 54 forks source link

Is there a memory leak? #259

Open Ixella opened 1 month ago

Ixella commented 1 month ago

About 5 minutes after the start, the server starts consuming more and more memory, after which i have to do a hard reboot of the computer, since it does not respond to anything. Unfortunately, it's not a fact that the log I attached relates to this problem, because I performed a hard reboot, and I'm not sure if the server managed to make a crash report, but it looks like it.

Can you tell me if it is possible to rollback the server to the previous beta version? Or maybe there is some other way to temporarily solve the problem: I would not like to interrupt the game because of this error

230d7f91mangosd.exe[2-5_11-53-35].txt 230d7f91mangosd.exe[2-5_11-53-35].dmp

Ixella commented 1 month ago

It is very similar to the fact that memory begins to leak after any manipulation of the character's inventory. Just in case, I note that I have 32 gigabytes of RAM installed, and, it seems, should not have problems going beyond the acceptable limits

celguar commented 1 month ago

How many RAM do you have free when you boot up the server? It requires 5-8 gigs of ram just for the server, if you're using wotlk

celguar commented 1 month ago

Prev beta builds for wotlk can be found here https://github.com/celguar/mangosbot-bots/releases Start from Feb and earlier

Ixella commented 1 month ago

How many RAM do you have free when you boot up the server? It requires 5-8 gigs of ram just for the server, if you're using wotlk

32 Gb

Prev beta builds for wotlk can be found here https://github.com/celguar/mangosbot-bots/releases Start from Feb and earlier

Thanks!

celguar commented 1 month ago

How can you have 32 GB free when you start server if Windows uses at least 1Gig?...

Ixella commented 1 month ago

How can you have 32 GB free when you start server if Windows uses at least 1Gig?...

I'm sorry, I read the question incorrectly. I definitely had more than half of the free memory (more than 16Gb) after the server started. Then, at some point, the game freezes, and the memory in the task manager starts to grow in a straight line up. The graph shows how this happens

изображение

celguar commented 1 month ago

memory leak was always there in spp classics, but it usually slowly ate RAM after 12+hrs of running. So you say this time ram usage started rising fast and server froze when it did?

Ixella commented 1 month ago

memory leak was always there in spp classics, but it usually slowly ate RAM after 12+hrs of running. So you say this time ram usage started rising fast and server froze when it did?

Exactly

Ixella commented 1 month ago

memory leak was always there in spp classics, but it usually slowly ate RAM after 12+hrs of running. So you say this time ram usage started rising fast and server froze when it did?

I managed to capture this video https://www.youtube.com/watch?v=b-Mv1s_F7zY

I will add: perhaps it has something to do with this event https://www.wowhead.com/wotlk/quest=172/childrens-week Since it was after I took the child that the bugs started