Skip to content

For ESP32 (Lolin D32): Memory usage is much higher in 3.10.8 vs 3.10.3 #4870

Open

Description

@chemdoc77

Board / MCU

ESP32

LED Chipset

WS2812B / NeoPixel

FastLED Version

3.10.8

Arduino / PlatformIO version

Platformio 6.2.0

Operating System

Windows

Description

For the following Github sketch:

https://github.com/chemdoc77/CD77_FastLED_2026/tree/main/NEOPIXEL%20New%20Product%20Test%20by%20Chemdoc77

I get the following using Platformio for a Lolin D32 MCU:

3.10.3

RAM: [= ] 6.8% (used 22256 bytes from 327680 bytes)
Flash: [== ] 20.5% (used 268865 bytes from 1310720 bytes)

3.10.8

RAM: [= ] 9.3% (used 30428 bytes from 327680 bytes)
Flash: [==== ] 42.5% (used 556509 bytes from 1310720 bytes)

Lolin D32 MCU memory calculations:

Version Ram Flash
3.10.3 22,256 268,865
3.10.8 30,428 556,509
Difference 8,172 287,644
% Increase 37% 107%

I get similar results for other sketches compiled on Platformio using both versions.

Also, the first time run with a different version in Platformio is almost 4 times slower for 3.10.8 than 3.10.3.

For the Nano:

For the following Github sketch:

https://github.com/chemdoc77/CD77_FastLED_2026/tree/main/NEOPIXEL%20New%20Product%20Test%20by%20Chemdoc77

I get the following using Platformio for a Nano MCU:

3.10.3
RAM: [== ] 20.8% (used 427 bytes from 2048 bytes)
Flash: [== ] 16.6% (used 5098 bytes from 30720 bytes)

3.10.8
RAM: [== ] 20.2% (used 414 bytes from 2048 bytes)
Flash: [== ] 19.5% (used 5984 bytes from 30720 bytes)

Nano memory calculations:
Version Ram Flash
3.10.3 427 5,098
3.10.8 414 5,984
Difference -13 886
% Increase -3% 17%

Steps to reproduce

Ran 3.10.3 vs 3.10.8 on other of my sketches and obtained similar high memory usage for 3.10.8.

Minimal sketch

https://github.com/chemdoc77/CD77_FastLED_2026/tree/main/NEOPIXEL%20New%20Product%20Test%20by%20Chemdoc77

and

https://github.com/chemdoc77/CD77_FastLED_2026/tree/main/NEOPIXEL%20New%20Product%20Test%20by%20Chemdoc77

Serial / debug output

Checklist

  • I have searched existing issues for duplicates
  • I have tested with the latest FastLED release or git master
  • I can reproduce this with a minimal sketch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: triagetype: bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions