lua-users home
lua-l archive

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

Dibyendu Majumdar <>于2016年12月3日周六 下午8:25写道:
Not sure the goal of this memory leak detector but Lua comes with an
optional component 'ltests.c' that has built-in leak detection. I

The goal is different. Sometimes, we create some lua objects(tables, userdata, etc) and forgot to remove reference after using them.
So we can make a snapshot of vm after some interval of time, and discover the new object from last snapshot.