[OS X TeX] Increasing memory
Axel E. Retif
axel.retif at mac.com
Fri Sep 21 10:21:11 EDT 2007
On 21 Sep, 2007, at 08:36, Adam Fenn wrote:
> On 21 Sep 2007, at 13:16, Axel E. Retif wrote:
>> First, locate the ``active'' texmf.cnf:
>> kpsewhich texmf.cnf
>> You can edit it with pico; v.gr.,
>> sudo pico /usr/local/texlive/2007/texmf/web2c/texmf.cnf
>> or with BBEdit or the freeware TextWrangler ( http://
>> www.barebones.com/ ). When you start changing it, either of those
>> programs will ask for your admin password.
>> What I did was to copy more or less the values from Gerben
>> Wierda's TeX distro. Then I rebuilt formats with
>> sudo fmtutil-sys --all
> I followed your instructions and increased main_memory = 10000000,
> but when I ran TeXshop on my file I got the same complaint
> ! TeX capacity exceeded, sorry [main memory size=1500000] even
> though texmf.cfn has been changed.
And did you do
sudo fmtutil-sys --all
after increasing the memory?
My modified texmf.cnf has in lines 510 & following:
main_memory = 2500000 % words of inimemory available; also applies to
extra_mem_top = 2000000 % extra high memory for chars, tokens, etc.
extra_mem_bot = 2000000 % extra low memory for boxes, glue,
% ConTeXt is a memory hog...
main_memory.context = 2000000 % Keep total within 8000000 limit
extra_mem_bot.context = 4000000
% Words of font info for TeX (total size of all TFM files,
% Must be >= 20000 and <= 4000000 (without tex.ch changes).
font_mem_size = 4000000
Remember to rebuild your formats with fmtutil-sys after making any
change to texmf.cnf.
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the MacOSX-TeX