Memory Allocation Issue

Hi,
Iam using SAM4N series microcontroller. While converting PNG image in RAW_WITH_ALPHA color format to C array, iam getting error like allocation fail. Can you please help me to fix the issue.?

Decoding PNG images at runtime needs a relatively large amount of memory. Be sure that you have a large enough heap configured in lv_conf.h.

You might want to use the native LVGL format (“True color”) as it doesn’t have that overhead.

Thank you.