Skip to content

RAM usage and binary size have exploded on AVR in 3.9.17 #1930

Description

@sutaburosu

With this release, I run out of RAM when trying to drive a single pixel on a Nano. Just #include'ing FastLED without using it burns over 1KiB of RAM. These results are from building with Arduino IDE 1.8.19.

/*     RAM used (bytes) to show() 1 LED vs FastLED version

|                  | (1) #include | (2) CRGB,addLeds<> | (3) CHSV, show() | Global vars (1/2/3)| Flash used (1/2/3)|
|------------------|--------------|--------------------|------------------|--------------------|-------------------|
| (0) No FastLED   | 206          |                    |                  | 192                | 1908              |
| FastLED 3.9.16   | 223 (+17)    | 306 (+83)          | 334 (+28)        | 209/292/320        | 1946/4314/5234    |
| FastLED 3.9.17   | 1338 (+1134) | ??? crash          | ??? crash        | 869/952/980        | 6424/8792/9712    |

Test sketch and full results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions