Garbage Collector memory leak
-
Hi, why does running gc.mem_free() consume RAM?
>>> import gc >>> gc.mem_free() 64384 >>> gc.mem_free() 64288 >>> gc.mem_free() 64224 >>> gc.mem_free() 64160
(sysname='LoPy', nodename='LoPy', release='1.6.13.b1', version='v1.8.6-607-g9c8a0e9e on 2017-05-01', machine='LoPy with ESP32', lorawan='1.0.0')
-
@Andrea-Filippini
If you are using telnet than it operate
if not nothing is consumed
-
@livius We are in an embedded environment with low RAM resources, I'm not happy to share precious memory for telnet functions =)
-
@Andrea-Filippini
If this is in COM then it is interested
What firmware version - i rememer that i tested this before and all was okos.uname()
I think that what you say is a big memory waste, I really hope you're in mistake
Why? It is telnet - you can press up/down arrows and rerun the comands
-
@livius I was running over USB. I think that what you say is a big memory waste, I really hope you're in mistake
-
@Andrea-Filippini
if you run this by telnet
than telnet allocate list of previously runned commands and this consume RAM.
Run the same throught COM port and see if there is a difference