lua-users home
lua-l archive

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


Hi!

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?

Thx

Bleki

Kind regards,

Gergely BOROMISSZA
Developer

T: +36 (1) 872-0000
F: +36 (1) 872-0100
E: Gergely.BOROMISSZA@navngo.com

 
Nav N Go Kft.

Bérc u. 23.

H-1016 Budapest

Hungary

 

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 www.naviextras.com. Find out more about us at www.navngo.com. 

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.