.dram0.bss' will not fit in region `dram0_0_seg

abiangb
Posts: 2
Joined: Wed Jan 27, 2021 8:26 am

.dram0.bss' will not fit in region `dram0_0_seg

Postby abiangb » Wed Jan 27, 2021 8:41 am

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

abiangb
Posts: 2
Joined: Wed Jan 27, 2021 8:26 am

Re: .dram0.bss' will not fit in region `dram0_0_seg

Postby abiangb » Wed Jan 27, 2021 1:15 pm


ESP_Minatel
Posts: 364
Joined: Mon Jan 04, 2021 2:06 pm

Re: .dram0.bss' will not fit in region `dram0_0_seg

Postby ESP_Minatel » Wed Jan 27, 2021 2:35 pm

Hi,

Thanks for your feedback!

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 77 guests