<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>Error: TeX capacity exceeded</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>I am a Fedora 12 user running texlive 2007. I have added the tikz and pgfplot packages also.<BR>
<BR>
I get this error when I run latex on one of my .tex files:<BR>
! TeX capacity exceeded, sorry [main memory size=1500000]<BR>
<BR>
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.<BR>
<BR>
To fix this I tried changing texmf.cnf in /usr/share/texmf/web2c/. I changed: main_memory = 1500000 to main_memory = 3000000.<BR>
<BR>
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.<BR>
<BR>
Does anyone have any suggestions about what I should do to enlarge TeX?<BR>
<BR>
Thank you.</FONT>
</P>
</BODY>
</HTML>