Since making the previous, post I set up a quick test in the simulator using the LVGL memory management just to make sure there are no leaks now. It’s just basically an lv_task which creates a chart if none exists and deletes a chart if it does exist which executes every 5 seconds and here is the memory monitor console output…
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
used: 6096 ( 10 %), frag: 0 %, biggest free: 59440
used: 5520 ( 9 %), frag: 1 %, biggest free: 59968
Kind Regards,
Pete