ESP8266 Developer ZoneThe Official ESP8266 Forum2015-07-15T14:35:11+08:00https://bbs.espressif.com:443/feed.php?f=7&t=5702015-07-15T14:35:11+08:002015-07-15T14:35:11+08:00https://bbs.espressif.com:443/viewtopic.php?t=570&p=2689#p2689http://bbs.espressif.com/viewtopic.php?f=5&t=734 seem to have fixed my issue.
]]>2015-06-09T18:02:37+08:002015-06-09T18:02:37+08:00https://bbs.espressif.com:443/viewtopic.php?t=570&p=2128#p2128 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:002015-06-09T13:30:39+08:00https://bbs.espressif.com:443/viewtopic.php?t=570&p=2124#p2124 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