Memory Leak in SDK

I stupidly forgot about this issue then encountered it myself.

More thoughts in the thread below, such as it:

  • only happening with custom fonts (not a copy of the system font)
  • only at high frame rates (46 and higher)
  • only happening on my game over screen and not in my main game state (which is busier so I guess GC is being triggered by other things)

https://devforum.play.date/t/memory-build-up-using-font-drawtextaligned-at-high-setrefreshrate/6700

1 Like