Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Suggesting to free and return heap resource once connection is completed [duplicated to #28] #375

Closed
@yhua537

Description

@yhua537

While reuse the connection is a good idea for CPU performance, ESP82666 has limited heap resource, #3740 & #4089 Firebase library currently holding over 16k when the first connection is active, plus the other heap space consumed by SDK, available free heap is very limited for user program.

Suggesting to trade off some CPU performance and defaulting to close the connection once the request is completed (unless it is under stream mode), or at very least, providing API to allow manual close of the connection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions