[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [ANN] Emergency GC patch release 5 for Lua 5.1.4
- From: "Robert G. Jakabosky" <bobby@...>
- Date: Mon, 16 Nov 2009 21:58:43 -0700
The Emergency GC patch makes it safe to call the Lua garbage collector after a
memory allocation has failed. This allows the garbage collector to free some
memory so that the failed allocation can be retried. The patch also add
support for setting a limit on how much memory Lua scripts can allocate.
This new release include the sweep strings fix (i.e. to fix the bug with
loading large script files).
Also a new compile option LUA_STRESS_EMERGENCY_GC has been add to luaconf.h to
enable stress testing of the Emergency GC.
Here is the new patch:
http://lua-users.org/files/wiki_insecure/power_patches/5.1/emergency_gc-5.1.4-r5.patch
Here is more info about the Emergency GC patch:
http://lua-users.org/wiki/EmergencyGarbageCollector
--
Robert G. Jakabosky