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
Description
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.