Enlarge tex memory in OSX

Enlarge expand tex latex memory in OSX Mac.

Get an error like this?

Here is how much of TeX's memory you used...
3000001 words of memory out of 3000000

Add the following lines to the file /usr/local/texlive/2011/texmf.cnf

main_memory=250000000
extra_mem_top=50000000
extra_mem_bot=50000000
save_size=15000
stack_size=15000

Propagate the settings

sudo fmtutil --refresh

qed

Be Sociable, Share!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>