Jump to content
EN
Play

Forum

Memory Leaks - Causing server issues within Tanki (Theory)


jdc20181
 Share

Recommended Posts

Might be a good idea to run some tests on the code behind tanki, because from what I can tell, I have narrowed it down, and it seems there is a memory leak. Just imagine the amount of CPU the server is using - It is probably unbearable, so the lag becomes reality, it seems to be patched regularly usually by a simple server restart - making the resources processes drop back down, but seems to return during the day. 

 

During memory leaks on the server side of a application, performance of the code could be reduced creating small and annoying bugs - If a memory leak is fixed - some of the issues such as lag could be resolved. 

 

FAQ:

 

 

 

Other Games that experience this type of issue connected to FPS (that support my theory)

 

 

 

 

(I will add more info as I find it) 

 

Remember this is just a theory and pretty much for those who understand what it is, and its impacts. 

 

Thanks 

 

P.s this is mainly for research to give to devs to fix the issue

Edited by jdc20181
  • Like 2

Share this post


Link to post
Share on other sites

You are talking about BSoD (Blue screen of death) right?

No. 

 

Its on thier end not ours. A memory leak is simply because a application is using more than it is suppose to. A link is given explaining what a Memory leak is in the FAQ spoiler.

 

In a Game, a memory leak can cause issues inside the code, sometimes its how fast or a certain way the code is executed, but generally is noticed when it causes lag. 

 

If they also mess with the FPS controlers, it could impact it as well, could also be Adobe Flash itself. 

Edited by jdc20181

Share this post


Link to post
Share on other sites

When a program occupies a piece of memory and later does not release it, this memory becomes useless and inaccessible. Reproducing this process for a long time may lead to memory starvation – a special case, in which the application is unable to continue the execution due to insufficient memory resources. The application becomes slower, less responsive and eventually crashes.

 

Valid conclusion, although I would doubt in ability to 

 

return during the day.

I think it isn't possible to repair/clear that information during there are players playing the game without giving out interruption which would make whole new server restart. That's why we have it placed just when there are minimal amount of players playing Tanki, at  2 UTC. Fix of this problem is to restart the system, but since this isn't the issue of only one day, the problem might be in the code.

 

( a lot of thoughts aren't exposed since Idk what to say :p )

Share this post


Link to post
Share on other sites

When a program occupies a piece of memory and later does not release it, this memory becomes useless and inaccessible. Reproducing this process for a long time may lead to memory starvation – a special case, in which the application is unable to continue the execution due to insufficient memory resources. The application becomes slower, less responsive and eventually crashes.

 

Valid conclusion, although I would doubt in ability to 

 

I think it isn't possible to repair/clear that information during there are players playing the game without giving out interruption which would make whole new server restart. That's why we have it placed just when there are minimal amount of players playing Tanki, at  2 UTC. Fix of this problem is to restart the system, but since this isn't the issue of only one day, the problem might be in the code.

 

( a lot of thoughts aren't exposed since Idk what to say :P

 

Basically, thats what I was saying in theory that the code could cause a memory leak creating a irritable returning lag. 

 

Restarts aren't a good practice was said so by a developer of over 20 years. You should have stable code. Unless they need to apply a update of course. 

 

But I actually feel secure witha restart. 

 

Anyhow, yea. We will see in the coming days. I am still researching my theory and will also opena issue on another forum about this. 

Share this post


Link to post
Share on other sites

 Share

×
×
  • Create New...