lua-users home
lua-l archive

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

On Thu, Apr 09, 1998 at 12:23:04PM -0300, Ralf HECKHAUSEN wrote:
> Hi Luiz,

> We are calling one function periodically from the C-application, which causes
> a memory overflow after a few hundred calls.  I switched on the debug mode in
> luamem.c and recognized, that the memory usage grows over the long run. The
> number of blocks and kb mem oscilate widly over the time, while the average
> value of blocks is constant, but the mem value grows. 

Have you called "collectgarbage()" with a finite number? Try calling it with a
number like "2" and see if your memory problem goes away.

David Jeske (N9LCA) + +