Hi everyone,
What do you want to achieve?
I want to reduce LVGL RAM consumption.
LVGL uses approximately 140kB of RAM for my application (I estimate this value using esp_get_free_heap_size function). It’s a complex GUI with 16 screens and a lot of objects.
I estimate that I have to free at least 30kB.
What MCU/Processor/Board and compiler are you using?
I’m using ESP32-VROOM-32E module on a custom PCB
The screen is an ILI9341
What LVGL version are you using?
v8.2, stable release
What have you tried so far?
- 
I followed minimizing ram usage advices from Espressif : 
 Minimizing RAM Usage - ESP32 - — ESP-IDF Programming Guide v4.4 documentation.
- 
I tried to initialise only one screen (the main screen). The RAM consumption is the same, is it normal ? 
- 
I’m using 18 icons (24x24 pixels). So I tried to apply this method : 
 How to keep RAM usage low - #9 by pete-pjb
 But on ESP32, all constants seem to be already store in flash…
Kind regards.