GeneralPgfplot error

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
jhapk
Posts: 81
Joined: Tue Apr 20, 2010 9:33 pm

Pgfplot error

Post by jhapk »

My data file is quite big. I am getting the following error (output here is from the log file):

Code: Select all

[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count105
\scratchdimen=\dimen162
\scratchbox=\box36
\nofMPsegments=\count106
\nofMParguments=\count107
\everyMPshowfont=\toks28
\MPscratchCnt=\count108
\MPscratchDim=\dimen163
\MPnumerator=\count109
\everyMPtoPDFconversion=\toks29
)
PGFPlots: reading {history.dat}

Runaway definition?
->
! TeX capacity exceeded, sorry [main memory size=3000000].
\pgfplotsapplistXXglobalpushback@smallbufoverfl ...
                                                  \the \t@pgfplots@tokb \the...
l.26 ...lot [no marks, thick] table {history.dat};
                                                  
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.

 
Here is how much of TeX's memory you used:
 12731 strings out of 495061
 291028 string characters out of 1182621
 3000001 words of memory out of 3000000
 15690 multiletter control sequences out of 15000+50000
 3640 words of font info for 14 fonts, out of 3000000 for 9000
 28 hyphenation exceptions out of 8191
 56i,1n,61p,418b,660s stack positions out of 5000i,500n,10000p,200000b,50000s
!  ==> Fatal error occurred, no output PDF file produced!
How can I solve it?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Pgfplot error

Post by Johannes_B »

You can enlarge the memory (dependant of your distribution), eternalize the plots (have a look at the manual section 50 -> Externalization) or use LuaLaTeX to compile your document. LuaTeX allocates more memory on the run if needed.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply