[OS X TeX] TeX running out of space (at least it says so.)

Maarten Sneep maarten.sneep at xs4all.nl
Sat Nov 13 08:38:52 EST 2004


On 13 nov 2004, at 4:57, Alexandru Scorpan wrote:

>> ! TeX capacity exceeded, sorry [save size=5000].
>>
>> what should i do?
>
> Try this:
>
> Go to the folder
> 	/Library/teTeX/share/texmf/web2c/texmf.cnf

As Gerben noted in a message a few days ago, you should add this 
setting to
     /Library/teTeX/texmf.cnf
as this file will be saved when you run i-Installer on tex.ii2 again. 
The correct
parameter-names, including a short description of what they do can be 
found in
     /Library/teTeX/share/texmf/web2c/texmf.cnf
(But any changes to this file will be silently overwritten upon a 
re-install of TeX).

> Then open the file in your favorite text editor.  Toward the bottom of 
> the file (line 501 or so), there is a line reading:
> 	save_size = 5000	% for saving values outside current group
> Increase this number.  For example, try 10000.  (Might need some 
> tinkering.)  Save.

Note that there are occasions where simply increasing a parameter will 
do no good
at all, the FAQ 
(http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes) has
a section on the subject. Sometimes the error will be causes by loading 
incompatible
packages, forgetting to close a group, or an incorrect macro-definition.

> Finally, in a Terminal window, issue the command
> 	sudo fmtutil --all
> which will rebuild all formats to take this bigger value into account.

This is needed for most changes you add to a texmf.cnf file, although 
changes to path definitions need
to be followed by
     sudo mktexmf

Maarten

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list