BananaCreamGames I did a bit more digging into the memory leak issue, and I think I figured out what’s causing it. After importing the game into my own Ren'Py setup and running some more thorough tests, it turns out the problem is with the underlying renderer Ren'Py uses,
You must be registered to see the links
. Earlier this year, this library got a major update to version 3, and to keep older stuff like Ren'Py (which still uses SDL2) working, they introduced a compatibility layer called
You must be registered to see the links
, and this seems to be the culprit. My system had both SDL3 and sdl2-compat installed, so all SDL2 apps (including Ren'Py) were being run through this layer. After I swapped it out for the original SDL2, the memory leak stopped. So yeah, turns out this wasn’t really an issue with the game at all, just a weird SDL + my system combo problem. Given that, I doubt this affects the Android version either.
Sorry for the false alarm!
P.S. Someone else seems to have reported a very similar issue to the Ren'Py devs, but since they didn’t know the root cause and the devs couldn’t reproduce it, it kinda went nowhere:
You must be registered to see the links