2006Scape icon indicating copy to clipboard operation
2006Scape copied to clipboard

There is a memory leak *somewhere*

Open dginovker opened this issue 5 years ago • 8 comments

If the server is left running for 6 days or so with the same playercount as 1 day, it'll be using about 4 GB of RAM instead of 1 GB.

Since the server is headless I haven't got very good ways of debugging this on the live game.

dginovker avatar Nov 30 '19 01:11 dginovker

Probably player shops.

JetF0x avatar Nov 30 '19 01:11 JetF0x

Was lagging like that before the shops.

Gptaqbc avatar Nov 30 '19 01:11 Gptaqbc

But with the memory leak?

JetF0x avatar Nov 30 '19 01:11 JetF0x

Think so. Can’t be sure though.

Gptaqbc avatar Nov 30 '19 02:11 Gptaqbc

Tutorial on how to detect and diagnose memory leaks: https://www.rune-server.ee/runescape-development/rs2-server/tutorials/332712-how-fix-memory-leak.html

Gptaqbc avatar Dec 03 '19 18:12 Gptaqbc

I've got some debugging tools up on the liveserver right now. Next time this happens I'm gonna whip them up and grab some data :)

Merry Christmas!

dginovker avatar Dec 26 '19 01:12 dginovker

Any progress here?

Xeddius avatar Jul 08 '20 14:07 Xeddius

I haven't noticed it lately. Honestly no idea how it comes and goes.

dginovker avatar Jul 10 '20 14:07 dginovker