[pdftex] Summary: wizard wanted :-)

Daniel Schlieper Daniel.Schlieper at Uni-Koeln.DE
Sun Jun 1 17:13:37 CEST 2003


Dear all,

Thierry and Nelson were as kind as to help me. Thank you very much! As
your hints are really helpfull, here is a summary.

Best regards, Daniel

----------------------------------------------------------------------
My question was:

pdflatex tells me to look for a wizard to enlarge pdftex's
memory. 

! TeX capacity exceeded, sorry [pool size=68236].
                                  
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.

!  ==> Fatal error occurred, the output PDF file not finished!

----------------------------------------------------------------------

Thierry Bouche: 

either pdftex doesn't find texmf.cnf, or way too low values are stored 
there. Here are the values form TL 6:

font_mem_size.pdflatex = 500000
main_memory.pdflatex = 1500000
param_size.pdflatex = 3000
stack_size.pdflatex = 3000
hash_extra.pdflatex = 15000
string_vacancies.pdflatex = 55000
pool_free.pdflatex = 47500
nest_size.pdflatex = 500
pool_size.pdflatex = 500000
save_size.pdflatex = 5000
max_strings.pdflatex = 55000

first, you find where your texmf.cnf is : kpsewhich -prog pdflatex
texmf.cnf, or pdflatex -kp 6 xx.tex and look what files are used.

second, you change the values.

third, you do: pdftex -ini -fmt=pdflatex latex.ltx and you get a
pdflatex.fmt, you put this either in the current directory, or in its
standard location (something like .../texmf/web2c). the limitation
should be gone.

----------------------------------------------------------------------
Nelson H. F. Beebe: 

This can likely be fixed by creating a one-line texmf.cnf file in the
current directory (where your TeX files are) with a setting like this:

	max_strings = 100000

or, if you want this to apply only to pdflatex,

	max_strings.pdflatex = 100000

In the TeXlive-6 release, the texmf.cnf file is found in the path
texmf/web2c/texmf.cnf; you can find other adjustable parameters there.

You then need to set TEXMFCNF to search the current directory first:

	setenv TEXMFCNF .:

-- 
Daniel Schlieper               MRC Laboratory of Molecular Biology
daniel at mrc-lmb.cam.ac.uk       Hills Road, Cambridge CB2 2QH, UK
Tel.: +44 1223 252969          FAX: +44 1223 213556
WWW: http://www2.mrc-lmb.cam.ac.uk/groups/JYL/index.html



More information about the pdftex mailing list