Hi,
I’m using LVGL v9.3 on an ESP32-C5 with esp-idf v5.5.1 and I’m observing some strange behavior regarding RAM consumption.
I’m creating a simple screen using lv_obj_create(NULL) and I’m observing higher RAM consumption when the screen is empty than when I add widgets.
No widgets : Internal free RAM: 52756 bytes
With widgets : Internal free RAM: 54108 bytes
Note that I’m using CONFIG_LV_USE_CUSTOM_MALLOC and I’m malloc in SPIRAM.
- The first question I ask myself is why I have RAM consumption when it should normally use SPIRAM ?
- The second question I ask myself, and which is racking my brain, is why is consumption higher when the screen is empty ?
Thanks,
Steven