ESP8266 Developer Zone The Official ESP8266 Forum 2015-07-15T14:35:11+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=570 2015-07-15T14:35:11+08:00 2015-07-15T14:35:11+08:00 https://bbs.espressif.com:443/viewtopic.php?t=570&p=2689#p2689 <![CDATA[Re: No heap available, failed to malloc 1592]]> http://bbs.espressif.com/viewtopic.php?f=5&t=734 seem to have fixed my issue.

Thanks Espressif.

Statistics: Posted by Guest — Wed Jul 15, 2015 2:35 pm


]]>
2015-06-09T18:02:37+08:00 2015-06-09T18:02:37+08:00 https://bbs.espressif.com:443/viewtopic.php?t=570&p=2128#p2128 <![CDATA[Re: No heap available, failed to malloc 1592]]>
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 !

Statistics: Posted by ESP_Faye — Tue Jun 09, 2015 6:02 pm


]]>
2015-06-09T13:30:39+08:00 2015-06-09T13:30:39+08:00 https://bbs.espressif.com:443/viewtopic.php?t=570&p=2124#p2124 <![CDATA[No heap available, failed to malloc 1592]]>
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.

Statistics: Posted by Guest — Tue Jun 09, 2015 1:30 pm


]]>