NodeMCU 0.9.5 build 20150213 powered by Lua 5.1.4
lua: not enough memory
> print(node.heap())
16712
> for n,s in pairs(file.list()) do print(n.." size: "..s) end
page.lua size: 4128
dht22.lua size: 2588
init.lua size: 275
Changed settings in ..../nodemcu_firmware/app/include/user_config.h:
// #define CLIENT_SSL_ENABLE
//#define LUA_USE_MODULES_I2C
//#define LUA_USE_MODULES_SPI
//#define LUA_USE_MODULES_MQTT
// #define LUA_USE_MODULES_WS2812
#define LUA_NUMBER_INTEGRAL
I used this helper for re-building the NodeMCU-Firmware:
https://github.com/pfalcon/esp-open-sdk
Axel.