The maximum allocated memory by stbtt_RenderText() has never exceeded 2MB during testing. 8MB ought to be enough for anybody :^)
At boot time, we preallocate 32MB of RAM to reuse for all malloc() requests by stbtt_RenderText(), which should be more than enough for the primary use case (browsing web pages).