[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Memory leaks and user data
- From: roberto@... (Roberto Ierusalimschy)
- Date: Wed, 27 Jun 2007 14:32:58 -0300
> I have a memory leak problem: some userdata objects are never GC'd, and I
> really fail to find where it's referenced. Is there a well-known recipe to
> help tracking down such leaks, if I know which userdata I'm chasing?
Last year Alexandra posted a tool that may help you; have a look at
http://lua-users.org/lists/lua-l/2006-07/msg00110.html
and related thread.
> Alternatively, is there some well-known trap that tends to make userdata
> more persistent than expected?
Not that I am aware...
-- Roberto