[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Memory Problem with Lua 3.0
- From: "Ralf HECKHAUSEN" <RHeckhau@...>
- Date: Thu, 09 Apr 1998 17:23:09 +0200
We have a problem with Lua 3.0 using it in an embedded environment, where we have only limited memory space.
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.
Is this a known problem with this version of Lua, or is it possible, that we do something wrong?
We call the lua function using dostring and enclose it with beginblock and endblock.
Thanks in advance,