lua-users home
lua-l archive

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

If it is a graphics app why not just call collectgarbage() once per frame to
force collection?

Nicolas Devillard wrote:
> I have a defined a userdata type (an image) that holds large quantities of
> memory. Obviously, this data type should be garbage collected as soon as
> possible to release resources.