Dynamic Memory Allocation on a ESP32C3

I am trying to create a large array on an XIAO ESP32C3, and the program crashes with this message…is this telling me that it doesn’t have enough memory to do this?

ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x8 (TG1WDT_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40380082
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5820,len:0x1058
load:0x403cc710,len:0x8a8
load:0x403ce710,len:0x2fac
entry 0x403cc710

It just cycles around this again and again…

Hi there,
Can you post the code , and use the code tags above “</>” paste it in there.
Looks to be a boot loop so probably an error in the boundaries for the memory.
HTH
GL :slight_smile: PJ :v:

1 Like