Hi
I use NONOS_SDK-2.1.0 and lwip_open_src_template_proj. I use http web serwer from oficial LWIP example.
When i read index.html page from web serwer i get this:
memfree it is value form function system_get_free_heap_size(), i read this every second (on soft timer), and when get http request.
79 memfree=39152
80 memfree=39152
81 memfree=39152
82 memfree=39152
83 memfree=39152
84 memfree=39152
http accept memfree=38776
http recived memfree=38704
http close memfree=35736
85 memfree=38968
86 memfree=38968
87 memfree=38968
88 memfree=38968
89 memfree=38968
http accept memfree=38592
http recived memfree=38520
http close memfree=35552
90 memfree=38784
91 memfree=38784
92 memfree=38784
http accept memfree=38408
http recived memfree=38336
http close memfree=35368
93 memfree=38600
94 memfree=38600
95 memfree=38600
http accept memfree=38224
http recived memfree=38152
http close memfree=35184
96 memfree=38416
97 memfree=38416
98 memfree=38416
99 memfree=38416
100 memfree=38416
http accept memfree=38040
http recived memfree=37968
http close memfree=35000
101 memfree=38232
102 memfree=38232
103 memfree=38232
104 memfree=38232
105 memfree=38232
....
180 memfree=39152
Every reading of the page changes heap by 184 bytes, but after several tens second(when I not read pages) the heap return to begining size (39152), it is correct or i have some leaking memory?
regards
Tom
ESP8266 No RTOS SDK 2.0 heap size
Re: ESP8266 No RTOS SDK 2.0 heap size
Postby Her Mary » Tue Mar 27, 2018 5:50 pm
I guess that it is the system need some time to release the heap, not a memory leak.
Maybe you can try to keep reading to check if the memory will reduce to be 0 or a very low number.
Maybe you can try to keep reading to check if the memory will reduce to be 0 or a very low number.
Who is online
Users browsing this forum: No registered users and 159 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.