You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read the documentation at readthedocs and the issue is not addressed there.
I have tested that the issue is present in current master branch (aka latest git).
I have searched the issue tracker for a similar issue.
I have filled out all fields below.
Platform
Hardware: [ESP-12]
Core Version: [latest git]
Development Env: [Arduino IDE]
Operating System: [Windows]
Settings in IDE
Module: [Nodemcu]
Flash Mode: [DOUT]
Flash Size: [4MB/1MB]
lwip Variant: [v2 Lower Memory]
Reset Method: [nodemcu]
Flash Frequency: [40Mhz]
CPU Frequency: [80Mhz]
Upload Using: [SERIAL]
Upload Speed: [921600)
Problem Description
When Using BearSSL secureClient, there is about 4k heap that gets taken up that does not get released. Is this normal?
I am using the latest git version, and I updated the bearSSL files based on #4900
When getting started, heap is 48504. This falls to some 43900 and it says there. I have a case where with a project, this 4k becomes significant as the ESP crashes due to low heap.
This is expected. BearSSL, when used, needs ~4.5KB of RAM as a private stack. It's allocated as soon as a BearSSL connection object is instantiated. Note, however, only a single 4.5K stack is needed no matter how many connections you use, so it's a 1-time payment.
Basic Infos
Platform
Settings in IDE
Problem Description
When Using BearSSL secureClient, there is about 4k heap that gets taken up that does not get released. Is this normal?
I am using the latest git version, and I updated the bearSSL files based on #4900
When getting started, heap is 48504. This falls to some 43900 and it says there. I have a case where with a project, this 4k becomes significant as the ESP crashes due to low heap.
MCVE Sketch
Debug Messages
The text was updated successfully, but these errors were encountered: