What is the working mechanism of "FrontendHeap::getInstance()" ?
The size of "heap" in my project up to 70+KB in RAM.
What are the factors that can affect its size?
void touchgfx_init()
{
Bitmap::registerBitmapDatabase(BitmapDatabase::getInstance(), BitmapDatabase::getInstanceSize());
TypedText::registerTexts(&texts);
Texts::setLanguage(0);
FontManager::setFontProvider(&fontProvider);
FrontendHeap& heap = FrontendHeap::getInstance();// this is too big
(void)heap; // we need to obtain the reference above to initialize the frontend heap.
hal.initialize();
}