ESP8266 Developer Zone The Official ESP8266 Forum 2016-05-18T17:28:03+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=2176 2016-05-18T17:28:03+08:00 2016-05-18T17:28:03+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2176&p=6960#p6960 <![CDATA[Re: RTOS v1.4 SSL heap issue]]>
Sorry that we can not reproduce your problem.

Please notice that the RTOS SSL Demo has already print the free heap size when start the SSL and delete the SSL connection.

Code:

os_printf("start heap size %d\n", system_get_free_heap_size());

Statistics: Posted by ESP_Faye — Wed May 18, 2016 5:28 pm


]]>
2016-05-16T18:19:17+08:00 2016-05-16T18:19:17+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2176&p=6926#p6926 <![CDATA[RTOS v1.4 SSL heap issue]]>
I am using your SSL Demo (viewtopic.php?f=31&t=1564) and for each iteration the heap is increasing and it can’t be freed.

I think the problem seems to be in ssl_client_new() function which uses almost 6000 of memory and then when I set ssl_free() it does not restore the same amount of memory.

I hope someone can help me.

Statistics: Posted by asanchez — Mon May 16, 2016 6:19 pm


]]>