LuaTeX + babel + *lots* of languages -> 10GB of RAM
Scott Kostyshak <[email protected]> Fri, 18 Jul 2025 11:29:23 +0200
| Newsgroups | gmane.comp.tex.texhax |
|---|---|
| Message-ID | <xpyquj6ljsvsidshsoiej3yqoifajkm6po2q3ztlminrkqpmxn@nqqillqeeull> |
Dear all, I've come across an issue of large RAM usage while running some automated tests. The RAM usage is proportional to the document, which makes it difficult to make an MWE. Here is a long document: https://www.dropbox.com/scl/fi/s1hs1l9ac73p83tr4achm/babel-lualatex-large-ram.tex?rlkey=z8hhz888vux3jf366uxebjo05&dl=1 When I run "lualatex" on it or "dvilualatex", it uses about 10GB of RAM for me (and the compilation does succeed with a zero error code). If you try to reproduce, please be careful on your system if you do not have a lot of RAM available because it might make your system run out of RAM and depending on your OS and setting, could grind it to a halt. (on my system, it just automatically kills the offending task if there's not enough RAM available, but it may be different for you) Any advice on whether this is a bug? If so, should it be reported to LuaTeX? Babel? Note that this document isn't mine and I'm not looking for a work around, I just want to know if there is a bug that I should report somewhere. I will be happy to forget about this "issue" if there's nothing interesting to report. Thanks, Scott
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEMfkICpsJzYuNuGlOA4ZnarZHC+sFAmh6E+0ACgkQA4ZnarZH C+sslwgAsAQuFn6FiOUOd0vRF41CTtov/J6fLy4f/H6N+/pH77qWvGrMEU9yCea4 xLvZbDYZU5WSCDuckuH22awbpGCYZVkKDjAufi1fSrCrjdFlKZg0vvew/kwbUzjG 8F5vXpGNefUOPu2dnJuJIxEOeApPljUt//CLmMHS/gOOh3XxQWOWXa5B666t/FMt 6+C7DcTX5dXj/jjDHTL2+fGdwlBcE8MrkcXQT5niFjV0WrZwl0lMfVZyVARge67f 80ofK81F5ftZC/v1ftpDBNuu8WcBKiGcOtz1YTBgYHKkhnHMsWq2q+NNfzH18pQY TkU3bWnRCjVV9MYab+fpnq+MwMQ5IQ== =W9DH -----END PGP SIGNATURE-----