[texhax] Error: TeX capacity exceeded

Axel E. Retif axel.retif at mac.com
Thu Mar 18 11:54:39 CET 2010

On  17 Mar, 2010, at 11:55, Reinhard Kotucha wrote:

> On 16 March 2010 Slingerland, Philip C wrote:
>> I am a Fedora 12 user running texlive 2007.  I have added the tikz
>> and pgfplot packages also.
>> I get this error when I run latex on one of my .tex files:
>> ! TeX capacity exceeded, sorry [main memory size=1500000]
>> I know that this is not due to a syntax error.  I am making a plot
>> using pgfplot which contains thousands of points.  When I include
>> fewer points, the .dvi file is created without any errors,
>> therefore the number of points is definitely the cause of the
>> problem.
> Sure, pgfplots needs a lot of memory.
>> To fix this I tried changing texmf.cnf in /usr/share/texmf/web2c/.
>> I changed: main_memory = 1500000 to main_memory = 3000000.
> 3000000 is the default in TL 2009.  You can increase it even more.
> There are some comments in texmf.cnf.

And then he has to

sudo fmtutil-sys --all




More information about the texhax mailing list