Arduino ESP32 core 3.3.8 shows ~55kB less available internal RAM comparing to 3.3.7

copych
Posts: 22
Joined: Tue Mar 07, 2023 6:04 pm

Arduino ESP32 core 3.3.8 shows ~55kB less available internal RAM comparing to 3.3.7

Postby copych » Fri Apr 24, 2026 12:15 pm

Arduino ESP32 core 3.3.8 shows ~55kB less available internal RAM comparing to 3.3.7

Code: Select all

uint32_t dram_free  = heap_caps_get_free_size(MALLOC_CAP_INTERNAL);
uint32_t dram_largest = heap_caps_get_largest_free_block(MALLOC_CAP_INTERNAL);
For my project (audio) it is critical to fit as much data as possible into the fast DRAM, while PSRAM is still available.
The same code for ESP32S3 shows:
3.3.7 : Internal RAM free: 259984 bytes (largest block: 204788)
3.3.8 : Internal RAM free: 204888 bytes (largest block: 188404)

You can see that it is a more than 20% free DRAM drop.

So I wonder, is there any information on this situation? Is it forever, and can only get worse, or is it temporarily not-optimized new features like USB audio card? Or can it be resolved right now with some magic?

Surely I can revert to 3.3.7 (which I did) , but I also wait for the fixes and new features...

MicroController
Posts: 2667
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: Arduino ESP32 core 3.3.8 shows ~55kB less available internal RAM comparing to 3.3.7

Postby MicroController » Mon Apr 27, 2026 7:05 am

For my project (audio) it is critical to fit as much data as possible into the fast DRAM, while PSRAM is still available.
Dunno where your DRAM went, but PSRAM (with the help of the ESP's cache) is probably more than fast enough for any kind of audio processing.

Who is online

Users browsing this forum: No registered users and 3 guests