I 'd like to know if there's an optimal garbage collection frequency for l2 servers?
What I mean is the following: While there are only 2-3 players on the server (being in testing phase ofc) it takes about 1,5-2 hours for the used memory to increase by 500mb. Once GC cleans up, it seems to reclaim all previously used memory, which I assume it means there's little to no memory leak. (Correct me if im wrong, ty).
Testing many aspects of the game, instances, events, or other custom features I've added/created, I found no serious spikes in memory usage.
Except for one thing: I made a custom stats command which pops-up a html window with various stats including str,dex, etc, p.atk, cast, and other stats that are not displayed on the character tab, such as pvp defense, etc. Technically it calls a lot of the character information at once.
When I keep spamming this command the memory usage rises very fast, since it refreshes these infos again and again. Naturally GC triggers and reclaims the memory all the same.
So my question is: Does it actually matters how often GC runs, or it doesn't really matter as long as it reclaims all the used memory?
hello everyone !
I need help with a l2script Rev H5-Salvation/Classic build. I compiled the project, installed everything but I can't log in to the server, it won't log me in. I tried a thousand ways without good results. I leave you the error when logging in either with the H5-Salvation Client.
ERROR ---> WARN: IPBANMANAGER ---> IP !!!!
I'm waiting for help! Thank you!
Hello !
I have a problem when connecting to the pack with the Salvation client, it blocks my IP, I see that the account is created in the database but it remains logged in.
Any idea what it could be? ALso with H5 CLient !
Thank you !
Question
Horse
Hi.
I 'd like to know if there's an optimal garbage collection frequency for l2 servers?
What I mean is the following: While there are only 2-3 players on the server (being in testing phase ofc) it takes about 1,5-2 hours for the used memory to increase by 500mb. Once GC cleans up, it seems to reclaim all previously used memory, which I assume it means there's little to no memory leak. (Correct me if im wrong, ty).
Testing many aspects of the game, instances, events, or other custom features I've added/created, I found no serious spikes in memory usage.
Except for one thing: I made a custom stats command which pops-up a html window with various stats including str,dex, etc, p.atk, cast, and other stats that are not displayed on the character tab, such as pvp defense, etc. Technically it calls a lot of the character information at once.
When I keep spamming this command the memory usage rises very fast, since it refreshes these infos again and again. Naturally GC triggers and reclaims the memory all the same.
So my question is: Does it actually matters how often GC runs, or it doesn't really matter as long as it reclaims all the used memory?
3 answers to this question
Recommended Posts