The infamous TeX capacity exceeded, sorry…
Things to try:
- Switch to XeLaTeX
- Switch to LuaLaTeX (though compilation may take significantly longer)
- Up the memory available
Increasing memory pool
On MikTex / Windows:
$ initexmf --edit-config-file=xelatex
# add `pool_size = 6000000` or as needed
$ initexmf --dump=xelatexSee also