Golden Shine

Speeding Gleam
I see a lot of game crashes due to a buildup of RAM memory after sprites have been rollangled often enough. SRB2's RAM usage keeps building and building until eventually the game gives up and dies. This'll happen eventually no matter the circumstances, but quicker in OpenGL (due to more bits-per-pixel, supposedly) or when it is larger sprites being rollangled.

Praying it can get it's fix before 2.2.14 rolls out. X8000 made a github report with my example mod that can replicate it, in this case using ghost trails that rollangle with you. https://git.do.srb2.org/STJr/SRB2/-/issues/1154
 
Angled floorsprites are confirmed to have this exact same issue.

This was confirmed by adding X Sonic v1.1b to the game, enabling his Stupid Memory Leak Fix, and then using Super Sonic's power charging ability (holding custom 3) whilst in a Super Sonic Tenkaichi. That charging rapidly spawns angled floorsprites as an effect, leading to the same memory overflow in time. (Happens faster in OpenGL)

https://mb.srb2.org/addons/x-sonic.7372/history

v1.1b which doesn't disable splats with its memory leak fix option is enabled, eventually crashes from doing just this.

v1.1c which disables splats with it's memory leak fix option enabled, gets no crash when doing just this. 1.1c was a very minor update with almost no other changes. It's 100% a problem with splats.
 

Attachments

  • srb21065.gif
    srb21065.gif
    6.3 MB · Views: 438
Ah, so that's the reason why doing tricks as the xmomentum microwave makes the game freeze. I've had times where this has made my PC fully lock up.

Is there any temporary fix for this? As someone who makes mods with bigger sprites scaled down, I'd like to make sure this isn't an issue.
 

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top