[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: one state memory footprint
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 8 May 2000 09:41:07 -0300 (EST)
>From: "Martin Dvorak" <mdvorak@ninell.cz>
>
>How can I estimate how much memory takes one Lua 4.0 state ?
In my Linux machine, sizeof(struct lua_State) is 120.
However, a state points to several dynamically allocated blocks, which are
hard to measure because they depend on the application.
--lhf