[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: How to best solve fragmentation issues
- From: "Alex Davies" <alex.mania@...>
- Date: Tue, 26 Feb 2008 01:55:58 +0900
Altough in any case, lua_close will have freed all memory. Unless you are
using malloc elsewhere, or something. But Lua itself won't leak any ;).
Might want to check your log tool? Or enable lua_assert, on lua_close it
will assert that bytes allocated = 0 (for your piece of mind).
----- Original Message -----
From: "Asko Kauppi" <firstname.lastname@example.org>
To: "Lua list" <email@example.com>
Sent: Tuesday, February 26, 2008 1:44 AM
Subject: Re: How to best solve fragmentation issues
Did you run the collect cycle _twice_, when trying it?
See the Lua reference, part of the releases only happen after the second