![](https://secure.gravatar.com/avatar/02a476cdfdfea19af9c2be1be1571d7d.jpg?s=120&d=mm&r=g)
16 Dec
2010
16 Dec
'10
8:12 p.m.
Hello there. Yesterday I was trying to typeset a very, very long document (about 3000 pages in A4). Well, mkiv died with a PANIC: unprotected error in call to Lua API (stack overflow (out of stack space)) It's easily reproducible with a simple \starttext \dorecurse{50000}{ \input knuth } Once it reaches page 4000 it will die. I'm obviously going to split the document, because a pdf of 4000 pages is just insane, but now I'm curious if this is a known limit. Bests -- Marco