Longer Lua programs are unstable.
Posted: Sun Mar 20, 2016 7:07 am
I need advice, please.
For some days I struggle with a general problem.
Why attached program crashes ?
In the moment, when my Lua program has a size of about 5kB or larger , it happens unstable and node.compile() crashes too.
I am test it with several ESP8266-01 and different versions of Lua, but always the same result.
For some days I struggle with a general problem.
Why attached program crashes ?
In the moment, when my Lua program has a size of about 5kB or larger , it happens unstable and node.compile() crashes too.
I am test it with several ESP8266-01 and different versions of Lua, but always the same result.
Code: Select all
buff1 =('1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'..
'12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345')
print(#buff1)
print(buff1)
print("END off programm")