iamgreaser / iceball

Open-source rewrite of the VOXLAP version of Ace of Spades.
http://iceball.build
GNU General Public License v3.0
114 stars 32 forks source link

Framerate degrades over time #70

Closed iamgreaser closed 9 years ago

iamgreaser commented 11 years ago

Shouldn't have to say much here, but I definitely noticed it during Iceball Event 2: Event Harder.

Current workaround is to just relog.

iamgreaser commented 10 years ago

Might be caused by the fact that the player class leaks image data which isn't ever freed.

Solution? Keep implementing that garbage collector.

iamgreaser commented 9 years ago

With the garbage collector and a bunch of fixes in place (including the fact that tracer_add never actually cleaned itself up, how did that stay there all that time?), this is still a problem.

Any ideas?

rakiru commented 9 years ago

This is where I would usually look at how many instances of each type exist over time, and see what keeps growing. That approach doesn't really work in Lua... Is there any way to do something similar?

iamgreaser commented 9 years ago

Fixed. Basically, here's what was ultimately wrong:

In other words it was probably all CPU-bound. Closing!