Hello!
I am using VScode and I have an issue when I declare a large buffer (mqtt_buffer[170000]) and then upload the sketch to ESP32 Wroom. The error message is "DRAM segment data does not fit.". It means that the buffer ram is bigger than ram region created by Arduino environment I think.
"Region `dram0_0_seg' overflowed by 84608 bytes" but ESP32 still has enough RAM. Defining mqtt_buffer[1000] the debug said "Total heap: 343508Free heap: 278016". So, I still have around 278Kb free.
In arduino IDE I haven't had this problem. Could anyone give me any advice? Changing any Ram parameter in VScode environment? where?
Thank you in advance!
Abian
.dram0.bss' will not fit in region `dram0_0_seg
-
- Posts: 364
- Joined: Mon Jan 04, 2021 2:06 pm
Re: .dram0.bss' will not fit in region `dram0_0_seg
Hi,
Thanks for your feedback!
Thanks for your feedback!
Who is online
Users browsing this forum: No registered users and 53 guests