Not Just Paranoid

Another site by Pete Maynard

pdflatex runs out of memory

Happy New Year! - First post of the year.

Error with pdflatex which complains about memory, something like this:

9287453 words of memory out of 18000000

Use lualatex - apparently it is meant to handle memory better.

Then increase the allocated memory by editing /etc/texmf/texmf.d/00debian.cnf to include:

main_memory=9000000 
extra_mem_bot=9000000 
font_mem_size=9000000 
pool_size=9000000 
buf_size=9000000

Update all the things, not sure which of these are needed:

fmtutil-sys --all
update-texmf
texhash

If it is still not working, check you have the luatex package installed:

apt-get install texlive-luatex

This was on Ubuntu 16.10.

References

8 Jan 2017

Website Last Updated on 4 Oct 2024 (CC BY-SA 4.0)

This site uses JQuery and nanogallery2 hosted by jsdelivr.net
for the Flickr photo feed and GoatCounter for user insights.