[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (rc1) now available
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 17 Dec 2014 00:01:29 -0200
> If I do:
>
> >lua -e "utf8=nil collectgarbage 'collect' print(collectgarbage 'count')"
>
> Would the utf8 library be unloaded, and I should see the unloaded memory
> usage?
You may need to unrequire utf8:
http://lua-users.org/lists/lua-l/2012-12/msg00883.html
So this will probably work:
lua -e "utf8=nil package.loaded.utf8=nil collectgarbage 'collect' print(collectgarbage 'count')"