Re: VM/GC question for gurus.
Francisco Olarte <[email protected]>
| Newsgroups | gmane.comp.lang.lua.general |
|---|---|
| Message-ID | <CA+bJJbwt-2Q7RFHaabJe6AdDOtQe4uYVND-R3XTTvM-3B5nw_g@mail.gmail.com> |
Trying to clarify, when I say On Wed, 18 Mar 2026 at 17:49, Francisco Olarte <[email protected]> wrote: > Taking a look at 5.4.8 lvm.c and a couple other places lea me to think lua > does not take into account the memory usage of the lua_load created > function. Can this be true ? > I do not mean it does not account it, I know it does. I mean it does not notice the memory usage has grown a lot due to the function being loaded, and as the test loop does not execute and makes it garabage, and has not any other memory consuming op it does not notice memory is growing and gc needs to be invoked ( I notice lvm.c has a checkGc macro which does this in some interesting point, but maybe the thight benchmark loop fails to hit any of them ). Francisco Olarte. -- You received this message because you are subscribed to the Google Groups "lua-l" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/lua-l/CA%2BbJJbwt-2Q7RFHaabJe6AdDOtQe4uYVND-R3XTTvM-3B5nw_g%40mail.gmail.com.