lua-users home
lua-l archive

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


> You do not need LUA_DEBUG for that. Function `gcinfo' returns the amount
> of memory used by Lua (in Kbytes).

Aha!  The memory usage is steadily increasing!

> Probably there are references accumulating that lua doesn't think it can
> release and it just has to traverse them all

How can I track these down?  The number of global variables isn't changing; the number of members of my tables is not increasing; my userdata objects are getting their "gc" tag methods called...  What else should I look at?