diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2008-04-07 15:58:42 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2008-04-07 15:58:42 -0300 |
commit | 6c84722afa4f207e14a1fdcd5de1557e9d3ef6f0 (patch) | |
tree | 7d3aff4202164cc26348a10f9c4c4e94120c4b92 | |
parent | facb0519a08faec540f81aee045c8e1dbb7e6aed (diff) | |
download | lua-6c84722afa4f207e14a1fdcd5de1557e9d3ef6f0.tar.gz lua-6c84722afa4f207e14a1fdcd5de1557e9d3ef6f0.tar.bz2 lua-6c84722afa4f207e14a1fdcd5de1557e9d3ef6f0.zip |
make default GC behavior a little more agressive
(to avoid falling behind memory consumption)
-rw-r--r-- | luaconf.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.95 2008/01/17 16:24:38 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.96 2008/02/11 19:17:19 roberto Exp roberto $ |
3 | ** Configuration file for Lua | 3 | ** Configuration file for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -304,7 +304,7 @@ | |||
304 | ** mean larger pauses which mean slower collection.) You can also change | 304 | ** mean larger pauses which mean slower collection.) You can also change |
305 | ** this value dynamically. | 305 | ** this value dynamically. |
306 | */ | 306 | */ |
307 | #define LUAI_GCPAUSE 200 /* 200% (wait memory to double before next GC) */ | 307 | #define LUAI_GCPAUSE 162 /* 162% (wait memory to double before next GC) */ |
308 | 308 | ||
309 | 309 | ||
310 | /* | 310 | /* |