Page 1 of 1

minimum heap ram to have robust WiFi

Posted: Thu Sep 27, 2018 9:05 pm
by davdav
Hi,

I'm testing extensively our code on wroom module and periodically check the remaining heap size (I use a lot of ram in some condition).

I have noted that if available heap size decrease below a certain limit ( about 30k to 10k) wifi connection is not more stable. For example

-beacon tmout occurs and wifi disconnect
-wifi task is not triggering task watchdog
-wifi task sometimes seems "freezed" (it seems after a esp_wifi_stop)

Looking into github issue of esp-idf people suggest to have always 50k of internal ram available for wifi.

Can someone confirm it?
If not, is there a safe limit to have robust wifi connection?

I have commented out some code to have more ram and at first test the above statement seems true.

Thanks