I'm using MiKTex 2.9.4196 with TeXnicCenter 2.0 beta on Windows 7. As I have to compile very large tikzpictures I use tikz externalize. Nevertheless some tikzpicture still produce an error.

! TeX capacity exceeded, sorry [pool size=3147270].

I already did increase the main memory, but I couldn't find out how to change the pool-size.


1 Answer 1


You can use the command line option:

pdflatex --pool-size=5000000 ....

You can also change the pool size e.g. for pdflatex permanantly: Run on the command line

initexmf --edit-config-file pdflatex

This will open a local pdflatex.ini in the editor. Add


Then save the file.

It shouldn't be necessary to rebuild the format for this value, but for other parameters it is sometimes needed.

You can find the default values in the manual in Chapter 10. TEXMF Run-Time Parameters.

  • To rebuilt the file, it seems you have to type initexmf --dump=pdflatex. Jan 22, 2016 at 14:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.