lua API
Modules
Tips
Script Programming Model Tips
Lua Memory Usage Tips
Execute your script on boot
lua API
»
Tips
View page source
Tips
¶
Script Programming Model Tips
Select the programming model
Tips for procedural programming
Tips for event-driven programming
Lua Memory Usage Tips
Memory Usage
Consider The Programming Language
It’s the PEAK memory usage that matters
Monitoring Memory Usage
Tip1: Split your program into different files
Tip2: Pre-compile your module into byte code
Execute your script on boot