Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Huangl
#17937 The memory became more and more less every time when ESP received require sent from a web until it reset.It seems that it dosen't relaese the memory after server.handleClient()?

My test program is simple.ESP works as a webserver and when it receive require,it sends the sizes of free heap via serial port.

Anyone has idea of it?

Thanks millions! :P
User avatar
By andres
#18072 I've noticed the same as You with "system_get_free_heap_size()", after each response to incoming clients requests, Heap becomes about 200 bytes smaller.
But... ;) ...if You wait a bit (30-60 seconds), You will see that The Heap returns to its original size.