LuaTeX static font-metric arrays vs. Lua GC heap when loading many OpenType fonts
Integration boundary LuaTeX combines a legacy static pool (font metrics, hyphenation tables, hash tables) with Lua's garbage-collected heap for nodes and strings. The lua_mem_limit setting in texmf.cnf caps the Lua heap, but static arrays grow outside that limit and are not documented as configurable. Goal and constraints Determine whether a document loading