dofile("init.lua")
init.lua:2: out of memory
stack traceback:
[C]: in function 'listen'
init.lua:2: in main chunk
[C]: in function 'dofile'
stdin:1: in main chunk
NodeMCU custom build by frightanic.com
branch: master
commit: 443e8219527f5b2190324a969a4586f9d3d731bf
SSL: false
modules: file,gpio,net,node,pwm,tmr,uart,wifi
build built on: 2017-11-04 11:58
powered by Lua 5.1.4 on SDK 2.1.0(116b762)
Guess I have seen the same problem after upgrade to 2.2.1-master_20180915.
It is believed, that the solution was erase flash with
esptool.py --port erase_flash
and flash the firmware again.
Expected behavior
server view
Actual behavior
init.lua:2: out of memory
Test code
a test with a basic program on a web page
NodeMCU version
NodeMCU custom build by frightanic.com branch: master commit: 443e8219527f5b2190324a969a4586f9d3d731bf SSL: false modules: file,gpio,net,node,pwm,tmr,uart,wifi build built on: 2017-11-04 11:58 powered by Lua 5.1.4 on SDK 2.1.0(116b762)
Hardware
NodeMCU "Amica"