- Tue Jun 16, 2015 12:42 am
#20560
hello DNC, I thought it was my code, so I started tracking it down and it is happening even when no code is running.
after file.format()
I have this init.lua running
Code: Select allprint (node.heap())
print (node.heap())
print (node.heap())
print (node.heap())
print (node.heap())
tmr.alarm(0,5000, 1, print(node.heap() ))
this is the output
Code: Select allNodeMCU 0.9.5 build 20150214 powered by Lua 5.1.4
21336
20992
20952
20912
20872
20832
> notice the decreasing node count. Again, after file.format() and each restart, the same node output, so it is consistent, at least in this code. I also run print(node.heap()) in esplorer terminal after this output and see that it recovered and stabilizes at 22688.
also a separate problem. My is my tmr.alarm not running at all?
is this a bug?