[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: doubt to tolua/tolua++'s tolua_gc table.
- From: steve donovan <steve.j.donovan@...>
- Date: Sat, 25 Jun 2011 18:43:28 +0200
On Sat, Jun 25, 2011 at 6:32 PM, Xavier Wang <weasley.wx@gmail.com> wrote:
> Obj is a C++ class binding by tolua, it seems that memory2 and memory3 is
> the same! so I don't have my memory back, how do I make my memory back after
> collect?
Maybe try calling collectgarbage "collect" twice; objects with __gc
get cleaned up on the next pass.
steve d.