Wifi heap allocation failure.

snahmad75
Posts: 445
Joined: Wed Jan 24, 2018 6:32 pm

Wifi heap allocation failure.

Postby snahmad75 » Wed Sep 05, 2018 9:00 am

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

snahmad75
Posts: 445
Joined: Wed Jan 24, 2018 6:32 pm

Re: Wifi heap allocation failure.

Postby snahmad75 » Fri Mar 08, 2019 12:30 pm

CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST=y make it work.

Who is online

Users browsing this forum: Google [Bot] and 152 guests