[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Environments, Sandboxes, and the Garbage Collector
- From: "Jerome Vuarand" <jerome.vuarand@...>
- Date: Wed, 23 Apr 2008 10:01:47 -0400
AJ wrote:
> Jerome Vuarand wrote:
>> Did you remove all references to the environment table from your Lua
>> stack ? If your objects are big enough you may reach memory limits
>> before overflowing the Lua stack and thus not notice it.
>
> There are neither references to the environment table in the Lua
> stack, nor in any tables on the Lua side. The data is literally
> invisible to me on the C and Lua ends. Only Lua sees it and collects
> it when the program ends (because then its Lua state is closed).
It's very unlikely that there's a leak in Lua itself. Can you isolate
the problem in a very small but complete example?