I've tried to compile "The Not so short Introduction to LaTeX" and it failed because of a huge memory consumption (around 2500 MB, my computer practically froze at that point). It seems that many font instances were loaded, so maybe it was the cause of this leak? Other possible cause could be leaking of nodes in shaping callback. For each shaped node list, a new one is created, but the old one can't be removed.
I've tried to compile "The Not so short Introduction to LaTeX" and it failed because of a huge memory consumption (around 2500 MB, my computer practically froze at that point). It seems that many font instances were loaded, so maybe it was the cause of this leak? Other possible cause could be leaking of nodes in shaping callback. For each shaped node list, a new one is created, but the old one can't be removed.