Tome of Finite Knowledge

Home

❯

Documenting

❯

LaTeX

❯

LaTeX running out of memory

LaTeX running out of memory

Sep 20, 20261 min read

The infamous TeX capacity exceeded, sorry…

Things to try:

  1. Switch to XeLaTeX
  2. Switch to LuaLaTeX (though compilation may take significantly longer)
  3. Up the memory available

Increasing memory pool

On MikTex / Windows:

$ initexmf --edit-config-file=xelatex
# add `pool_size = 6000000` or as needed
$ initexmf --dump=xelatex

See also

  • https://docs.miktex.org/manual/miktex-xetex.html
  • https://tex.stackexchange.com/a/438911
  • https://tex.stackexchange.com/a/568150

Graph View

Created with Quartz v4.5.2 © 2026

  • GitHub
  • Discord Community