[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.1 (work1) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 3 Apr 2012 17:12:37 -0300
> One thing about this particular test that might make it somewhat
> unusual: it allocates _very_ large strings (like 500MB), parses their
> contents, and then drops all references to them. Lua 5.1.4 very
> quickly reclaims a huge amount of memory after these big strings
> become unreferenced; printing out memory usage (using
> collectgarbage"count") at various points shows many places where usage
> in 5.1.4 drops from like "700MB used" to "2MB used", whereas the same
> printouts in Lua 5.2 never shows any obvious large drops in usage.
>
> Could this extreme "chunkiness" of allocation have some adverse impact
> on 5.2 that it didn't on 5.1.4?
Can you send the code?
-- Roberto