[texhax] Error: TeX capacity exceeded

Slingerland, Philip C Philip_Slingerland at student.uml.edu
Tue Mar 16 18:22:32 CET 2010

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.

To fix this I tried changing texmf.cnf in /usr/share/texmf/web2c/.  I changed: main_memory = 1500000 to main_memory = 3000000.

After doing so, I still got the same error as above.  Then I tried to "redump the format files" by issuing the command fmtutil --all.  I still get the same error as above.

Does anyone have any suggestions about what I should do to enlarge TeX?

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20100316/e5ec14b4/attachment.html>

More information about the texhax mailing list