Hi Espressif,
I have a multi connection TCP server which works great. My problem is that I see No heap available, failed to malloc 1592 from SDK on serial console after using the server for a few seconds.
My TCP server does NOT alloc/free any memory at runtime so I do not suspect a memory leak by the server itself. Looks like the SDK is allocating memory for TCP connections which is not released or reused for some reason. Can you please explain and help resolve this.
Thank you.
No heap available, failed to malloc 1592
Re: No heap available, failed to malloc 1592
Postby ESP_Faye » Tue Jun 09, 2015 6:02 pm
Hi,
Create a TCP connection needs to malloc some buffer, "No heap available" means there is not enough heap to use.
You could provide your test code and we will help you to debug this problem.
Thanks for your interest in ESP8266 !
Create a TCP connection needs to malloc some buffer, "No heap available" means there is not enough heap to use.
You could provide your test code and we will help you to debug this problem.
Thanks for your interest in ESP8266 !
Re: No heap available, failed to malloc 1592
Postby nver » Wed Jul 15, 2015 2:35 pm
The latest patch for memory optimization http://bbs.espressif.com/viewtopic.php?f=5&t=734 seem to have fixed my issue.
Thanks Espressif.
Thanks Espressif.
Who is online
Users browsing this forum: No registered users and 334 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.