RTOS v1.4 SSL heap issue

asanchez
Posts: 3
Joined: Wed May 11, 2016 6:37 pm

RTOS v1.4 SSL heap issue

Postby asanchez » Mon May 16, 2016 6:19 pm

Hi,

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.

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: RTOS v1.4 SSL heap issue

Postby ESP_Faye » Wed May 18, 2016 5:28 pm

Hi,

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: Select all

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

Who is online

Users browsing this forum: No registered users and 13 guests