Closed elipeF closed 5 years ago
How much users do you have average on your TeamSpeak Server? It might be that i do not release the event listeners correctly
I published a newer version to npm -> 1.12.5 would appreciate feedback if it has worked for you :)
On my own 500. Also tested on server with 200(users spend more time session take more time memory increase slowly than on my first one). If you solved it I can test it out. Also I'm looking for solution but no PR ready for now.
I published a newer version to npm -> 1.12.5 would appreciate feedback if it has worked for you :)
I deployed it. I will add the answer tomorrow after it has been going through for some time
@Multivit4min I can confirm that everything works as it should. After 6 hours of work, the memory usage did not increase. Good job!
Describe the bug Saturation of the memory by the bot without any errors
To Reproduce
Expected behavior To clear or reduce memory usage somehow.
Versions used
Additional context Nothing special happened here, but this "nothing" takes 4GB of RAM and that's terrifying. The use of memory grows over time and does not diminish. Even if there is zero traffic on the server, the memory usage increases. I think it's the fault of the "clientconnect" event which probably saves information about the user but does not clean them after the user left the server (Correct me if I'm wrong)