Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
TextureCache: Fix leaking TCacheEntry instances #7552
I only just noticed this when looking into Spongebob and Friends Unite, we never actually delete the TCacheEntry objects, both in the old invalidation path, and the new deferred EFB copy invalidation path.
In a fifolog for spongebob, we leak up to 500KB of memory per second. Pretty bad. After the change memory usage stays flat as you'd expect. I suspect there could be texture-heavy games which leak faster than this.