Search found 3 matches

by TSchmidt
Tue May 25, 2021 11:45 pm
Forum: ESP-IDF
Topic: ESP HTTPS Server Leaks Memory
Replies: 7
Views: 10423

Re: ESP HTTPS Server Leaks Memory

Hello,
this looks pretty much stable now. Unfortunately it is not exactly returning back to the heap value it had before opening a connection to the server and close it again. Means the heap utilization got a bit "noisy". So it is hard to say it is really freeing the memory all correctly. I need to ...
by TSchmidt
Thu May 06, 2021 6:28 pm
Forum: ESP-IDF
Topic: ESP HTTPS Server Leaks Memory
Replies: 7
Views: 10423

Re: ESP HTTPS Server Leaks Memory

Hello,
thanks so far for your answers. I tried to go further myself - I have left the device running with a looping task which displays every 30s the free heap. Also after 1h the memory is not released. If i register a close_fn in the HTTPD config and doing a esp_tls_conn_delete() in there:


void ...
by TSchmidt
Sun May 02, 2021 12:03 am
Forum: ESP-IDF
Topic: ESP HTTPS Server Leaks Memory
Replies: 7
Views: 10423

ESP HTTPS Server Leaks Memory

Hello,
I started a project with HTTPS and WebSocket and realized that something is loosing memory (by calling esp_get_free_heap_size()).
Most of the code is based on the examples (e.g. https_server/wss_server and more).

The web server uses the wildcard mechanism and loads the data from SPIFFS.

I ...

Go to advanced search