commit | 32f61e288defa9b4ca077e999dfda40b8e18e0a4 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Mar 18 17:54:59 2015 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Mar 18 17:54:59 2015 +0100 |
tree | aa7b4508bd28a3181426f7c463ee273878d58dfd | |
parent | 36d137448429eacbb999c9f25322e5e9f8adffba [diff] |
MEDIUM: lua: implement a simple memory allocator Lua supports a memory allocator. This is very important as it's the only way we can control the amount of memory allocatable by Lua scripts. That avoids prevents bogus scripts from eating all of the system's memory. The value can be enforced using tune.lua.maxmem in the global section.