Re: Longer Lua programs are unstable.
Posted: Mon Mar 21, 2016 6:09 am
Are you doing a custom build. I just redid this exact test and it ran without problems:
Code: Select all
What's the problem?Communication with MCU...
Got answer! AutoDetect firmware...
NodeMCU firmware detected.
=node.heap()
45072
local FILE="script1.lua" file.remove(FILE) file.open(FILE,"w+") uart.setup(0,115200,8,0,1,0)
> >> > > > > > > > > > > > > > > > > > >
--Done--
>
>
> dofile "script1.lua"
3795
1234567890...12345
END off programm
> =node.heap()
40528
> node.compile'script1.lua'
> =file.list()['script1.lc']
508
> dofile "script1.lc"
3795
1234567890...12345
END off programm
> buff1=nil
> =node.heap()
44248