Open Father001 opened 4 days ago
The WiFiClientSecure releases the memory itself. Alternatively, you can move mbedTLS to the PSRAM if there is a lack of memory.
The WiFiClientSecure releases the memory itself. Alternatively, you can move mbedTLS to the PSRAM if there is a lack of memory.
Thank you for the answer,!I solved the problem,
How to free up memory???
I'm using the code for this example: https://github.com/schreibfaul1/ESP32-audioI2S/blob/master/examples/separate_audiotask/separate_audiotask.ino
and I add one button, when button clicked, I called
audio.stopSong();
, and i need use http connect other url, but i get this error:[288634][E][ssl_client.cpp:37] _handle_error(): [start_ssl_client():264]: (-32512) SSL - Memory allocation failed [288635][E][WiFiClientSecure.cpp:144] connect(): start_ssl_client: -32512
What is the function of audio.stopSong()? it no free up memory?