lua-users home
lua-l archive

RE: Environments, Sandboxes, and the Garbage Collector

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


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?

AltStyle によって変換されたページ (->オリジナル) /