I have some problems to understand how to manage memory for LaTeX. I use the MacTeX 2011 distribution with no modifications (cad only with TeXLive 2011).
I have searched a lot on internet and on this very good forum (which have similar topics). Anyway all the things I have found and tested do not have worked.
I suppose the file I should modify is the one located on this path:
Originally this file contains:
% (Public domain.) % This texmf.cnf file should contain only your personal changes from the % original texmf.cnf (for example, as chosen in the installer). % % That is, if you need to make changes to texmf.cnf, put your custom % settings in this file, which is .../texlive/YYYY/texmf.cnf, rather than % the distributed file (which is .../texlive/YYYY/texmf/web2c/texmf.cnf). % And include *only* your changed values, not a copy of the whole thing! % TEXMFHOME = ~/Library/texmf TEXMFVAR = ~/Library/texlive/2011/texmf-var TEXMFCONFIG = ~/Library/texlive/2011/texmf-config
Then at the end of this file I should write my modifications (ex:
buf_size = 250000).
Anyway this don't seems to work (as error log say me that
TeX capacity exceeded, sorry [buffer size=200000]). If the modification were working I would get 250000 instead of 200000.
I have also tested to place a
~/texmf/mytexcnf/texmf.cnf (as suggered in Manual for Package pgfplots) and other similar paths
Finally I tried to type
fmtutil --all on the terminal but again without success.
I think I'm totally lost and I would greatly appreciate the assistance of experts.
Thanks in advance
EDIT 03 August 2011:
I have uploaded a file in order to allow people to test if their memory settings are effectively changed. This a zip file containing a large .tikz figure (which contains many data points) and a .tex document to compile it. You can download it from the link :
TestCompileLargeTikZ-v2.zip (the link will expire August 10, 2011)