Hello,
first of all, please let us know, which target you are using and which Build Environment you are using as starting point for your own development.
Next, let me recommend to see our article about the Memory Footprint, which explains a lot of details about this topic.
To answer your question, the garbage collection is triggered within the main loop - see section triggering the garbage collection. Please note, that the estimation given within the memory (RAM) usage window shows the absolute minimum, based on an adequate system configuration.
As your memory pool contains only 300 KByte, please try the following settings:
FRAME_BUFFER_HEIGHT 320
FRAME_BUFFER_WIDTH 320
MEMORY_POOL_SIZE 300*1024
MAX_STRING_CACHE_SIZE 4*1024
MAX_SURFACE_CACHE_SIZE 0
MAX_GLYPH_SURFACE_WIDTH 64
MAX_GLYPH_SURFACE_HEIGHT 64
MAX_ISSUE_TASKS 10
Does this help?
Best regards,
Manfred