From d8ead252eb4d6bded38c7a041aacfc41fa8b4263 Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Mon, 29 May 2017 09:25:04 +0200 Subject: Decrease LUAI_MAXSTACK to let node breath on Travis --- src/luaconf.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2