Skip to content

Increased heap consumption after version 2.3.3 #1046

@Laxilef

Description

@Laxilef

Hi,

On the ESP32 S3 I see the free heap decrease immediately after calling BLEDevice::init("") by ~45kb, and then decrease further down to ~7kb:

Uptime: 2 d., 5 h., 56 min., 13 sec.
Heap: 43780 of 302148 bytes (min: 7420 bytes), max free block: 31732 bytes (min: 5108 bytes) 

In some cases I observed min heap & max free block of 100-200 bytes and then crash after a few hours.


The same project, but with library version 2.3.3:

Uptime: 2 d., 4 h., 50 min., 28 sec.
Heap: 55312 of 302212 bytes (min: 33636 bytes), max free block: 31732 bytes (min: 28660 bytes) 

I use pioarduino to build the project, release Arduino Release v3.3.1 based on ESP-IDF v5.5.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions