diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-05-29 09:25:04 +0200 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-05-29 09:25:04 +0200 |
commit | d8ead252eb4d6bded38c7a041aacfc41fa8b4263 (patch) | |
tree | cb465dc0fc99d308ded8a0aa0facb10886ae34af /src/luaconf.js | |
parent | cc54d51321b789ee8a7a0fb5c209f6006194582c (diff) | |
download | fengari-d8ead252eb4d6bded38c7a041aacfc41fa8b4263.tar.gz fengari-d8ead252eb4d6bded38c7a041aacfc41fa8b4263.tar.bz2 fengari-d8ead252eb4d6bded38c7a041aacfc41fa8b4263.zip |
Decrease LUAI_MAXSTACK to let node breath on Travis
Diffstat (limited to 'src/luaconf.js')
-rw-r--r-- | src/luaconf.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/luaconf.js b/src/luaconf.js index c272178..5bb3550 100644 --- a/src/luaconf.js +++ b/src/luaconf.js @@ -10,7 +10,8 @@ const sprintf = require('sprintf-js').sprintf; ** its only purpose is to stop Lua from consuming unlimited stack ** space (and to reserve some numbers for pseudo-indices). */ -const LUAI_MAXSTACK = 1000000; +/* TODO: put back to 1000000. Node would go out of memory in some cases (e.g. travis) */ +const LUAI_MAXSTACK = 100000; /* @@ LUA_IDSIZE gives the maximum size for the description of the source |