Re: [NTG-context] LuaTeX: Weird GC behaviour

2017-12-07 Thread Hans Hagen
On 12/7/2017 12:40 AM, Shreevatsa R wrote: (Hope this gets threaded with the previous two messages...) I was the one who asked the question (https://tex.stackexchange.com/questions/404617). Another thing I'd like to mention is that after a while `io.lines` simply returned nil, and the second

Re: [NTG-context] LuaTeX: Weird GC behaviour

2017-12-06 Thread Shreevatsa R
(Hope this gets threaded with the previous two messages...) I was the one who asked the question (https://tex.stackexchange.com/questions/404617). Another thing I'd like to mention is that after a while `io.lines` simply returned nil, and the second and third return values (error message and

Re: [NTG-context] LuaTeX: Weird GC behaviour

2017-12-05 Thread Hans Hagen
On 12/5/2017 10:47 PM, Henri wrote: Dear devs, This was asked on TeX.SX: https://tex.stackexchange.com/questions/404617 The example below runs perfectly fine in the normal Lua interpreter, but crashes in texlua because the maximum number of open file handles is exceeded.  This seems to be a

[NTG-context] LuaTeX: Weird GC behaviour

2017-12-05 Thread Henri
Dear devs, This was asked on TeX.SX: https://tex.stackexchange.com/questions/404617 The example below runs perfectly fine in the normal Lua interpreter, but crashes in texlua because the maximum number of open file handles is exceeded.  This seems to be a peculiarity of io.lines in texlua.  Is