The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.
SDL
Simple Directmedia Layer Forums
A memory leak because text rendering
Alex0451
Joined: 10 Dec 2015
Posts: 1
Location: Ukraine
Posted: Wed Jan 13, 2016 7:45 pm
Hi guys.
I'm writing a little game, and there is a problem. If do not call the rendering of text, the Windows task managers shows that my game uses about 5 MB. If enable renderring of the text, then memory usage immediately increased to 8 MB and grows (20, 40, 60 mb ... etc).
I need help with finding memory leak.
I downloaded the latest version of the SDL and its extensions. Using the code from the text drawing tutorial. And still leaking.