Closed
Description
maximum ram usable by my sketch is 96000 , i defined it as:
#define MAX_DELAY 96000
byte sDelayBuffer0[MAX_DELAY];
if i define more than that , error is
region `dram0_0_seg' overflowed by 24064 bytes ( i set MAX_DELAY to 128000)
compiler reports that there is more ram free, how can i use it?
Serial.println(ESP.getFreeHeap());
returns 127336
i also tested malloc , new and dividing the memory needed into two segments, but crashes the same ( reset loop ) when sum of both segments exceed 96000