lua-users home
lua-l archive

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


> I'm unsure where the Matrix data is allocated, so thanks for these  
> thoughts. It very well may be that the Lua side of the memory growth  
> is quite tiny. (I'm just the humble scripter, not the engineer who  
> works on the integration.) I will run a test tomorrow and let it run  
> a very long time. However, my hunch is that it will not suddenly hit  
> a GC point and collect, but will interminably grow.

Where are you getting the amount of allocated memory from? If it is from

collectgarbage("count")
then my understanding is that only includes the memory allocated from
Lua. So that function should tell you how much memory is allocated on
the "Lua side". This might help you decide where the allocated memory
is.

- DC