lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I have some questions about Lua GC.

As I can see Lua doesn’t free up memory by garbage collecting, just marks it.

Should I really call collectgarbage with parameter “collect” to do this manually or with parameter “step” continuously?

Is there any possibility to do this automatically perhaps parameterized with a memory limit?



Kind regards,


T: +36 (1) 872-0000
F: +36 (1) 872-0100

Nav N Go Kft.

Bérc u. 23.

H-1016 Budapest



Nav N Go stands for innovative software for satellite navigation, mobile applications and content on a variety of platforms, enhanced by updates and online services delivered via Find out more about us at 

This message, including attachments, is confidential and may be privileged. If you are not an intended recipient, please notify the sender then delete and destroy the original message and all copies. You should not copy, forward and/or disclose this message, in whole or in part, without permission of the sender.