moononournation / RGB565_video

142 stars 33 forks source link

malloc fails on SD_RGB565_video #19

Closed TheKerbecs closed 6 months ago

TheKerbecs commented 1 year ago

according to ESP.getFreeHeap() i have ~300kb of memory and my video takes only 240 240 2 = 115200 but i get the malloc failed error on the example code.

moononournation commented 1 year ago

It is overed some sort of size limit. In ESP32, You only can allocate this size of memory in PSRAM.