[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Help ! A problem with the memroy
- From: Hao Wu <wuhao.wise@...>
- Date: Mon, 12 Apr 2010 21:22:37 -0400
I guess gc would help if you only specify a certain step, say 2.
hao
2010/4/12 bravefly <bravefly@gmail.com>:
> Dear everybody:
> I use lua on an embeded device, the memory is only 400KB. My engine exec lua
> files one after one.
> And now , I do close & open lua_State to release the memory after every
> execution of a lua file. It's so slow.
> Is there a good idea about releasing the memory used by previous lua
> execution which don't need to close
> lua state ?
>
>
> bravefly 2010-04-13
> ________________________________
> ?
> ? ? ? ? ?? ) ?
> ? ) ?
> ? ) ?
> ? ? ? ( ? ?
> ? ( ) ? ( )
> ( ? ? ? ( ?
> ) ? ? ) ? )
> ( ) ? ) _ ( )
> ? ( ) ) ? `- ' (
> ?? ? ?/ ?|| ? ? /
> ? ? / ?? ? ? \?│ \?
> | ? │| ? 一 \ _/\ ││
> ││ ? 生 \ \_/ │ ?
> ? │ ? 人 有 \ˇ'? ?
> | |? ? 生 你 \ │ |
> ?\__ |? ? 不 \
> ? ??) ? 再 \
> \∠? ? 孤 \
> |?) ? 独 \
> ?
>