lua-l,
I have been looking at how to manage/minimize memory usage in a C/Lua process/program running on Linux. I have observed some non-deterministic behavior with Lua’s collectgarbage() in “freeing” up memory for other processes to be able to use.
Details may be found here:
Specifically, is there a way to ensure all unused memory is freed from within Lua?
Thanks in advance.