Hi,
I've made some tests on an blank server and I've noticed a memory leak.
After a player connects to the server, for each Join Packet(received by the OnPlayerConnect) sent by the client, the server will use ~0.1MB additional memory.
After the player disconnects from the server, the memory used by extra packets wont be freed.
So, if a player will send 1000 Join Packets, my server will "lock" ~100 MB of memory.
How could this be fixed? How can I prevent a player from overloading my server?
I've made some tests on an blank server and I've noticed a memory leak.
After a player connects to the server, for each Join Packet(received by the OnPlayerConnect) sent by the client, the server will use ~0.1MB additional memory.
After the player disconnects from the server, the memory used by extra packets wont be freed.
So, if a player will send 1000 Join Packets, my server will "lock" ~100 MB of memory.
How could this be fixed? How can I prevent a player from overloading my server?
Aucun commentaire:
Enregistrer un commentaire