Page 1 of 1

Wifi heap allocation failure.

Posted: Wed Sep 05, 2018 9:00 am
by snahmad75
Hi,


Kindly see below. I am getting these heap allocation errors time to time.
I am using Wifi with external ram. I access my my http web server mongoose using SD card.
May be it is due to slow SD card access. how can increase WIFI buffer using menuconfig.
Once restart esp32 firmware. all starts working again.

Can Anyone tell me C/C++ code where this log is generating from?

(294475) wifi: alloc eb len=192 type=2 fail, heap:4191048

W (294476) wifi: m f probe rsp l=167

W (294505) wifi: alloc eb len=192 type=2 fail, heap:4191048

W (294505) wifi: m f probe rsp l=167

W (295710) wifi: alloc eb len=192 type=2 fail, heap:4191048

W (295711) wifi: m f probe rsp l=167

W (295720) wifi: alloc eb len=192 type=2 fail, heap:4191048

W (295720) wifi: m f probe rsp l=167

W (295730) wifi: alloc eb len=192 type=2 fail, heap:4191048

W (295730) wifi: m f probe rsp l=167

W (300571) wifi: alloc eb len=192 type=2 fail, heap:4190972

Re: Wifi heap allocation failure.

Posted: Fri Mar 08, 2019 12:30 pm
by snahmad75
CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST=y make it work.