I am aware latest NodeLua uses more heap by default due to 0.9.4 SDK and added NodeLua APIs.
I haven't had a chance to sucsessfully set up the SDK dev environment to be able to experiment with omitting unused modules from compilation but I'm curious if anyone has and if anyone can report whether any saved memory can be relatively useful. I.e. Can we get back 1k, 2k, 5k, 10k ????
The modules below highlighted in red are ones not used in my application. I would be grateful if someone who can successfully compile the source can report on what recompiling without these modules can yield in terms of memory gain.
#define LUA_USE_MODULES_NODE
#define LUA_USE_MODULES_FILE
//#define LUA_USE_MODULES_GPIO
#define LUA_USE_MODULES_WIFI
#define LUA_USE_MODULES_NET
//#define LUA_USE_MODULES_PWM
//#define LUA_USE_MODULES_I2C
//#define LUA_USE_MODULES_TMR
//#define LUA_USE_MODULES_ADC
//#define LUA_USE_MODULES_UART
//#define LUA_USE_MODULES_OW