The tag has no usage guidance.

learn more… | top users | synonyms

12
votes
3answers
6k views

matlab2tikz - TeX out of memory

I am using matlab2tikz to import figures from MATLAB to tex. However I quickly get the message TeX capacity exceeded, sorry [main memory size = 3000000]. I have tried expand main memory using ...
7
votes
1answer
130 views

What are the limited resources in LaTeX/TeX?

I heard, that some resources (or maybe all) are limited. The number of lengths seems to be limited to 2^8 (1 byte). Are there any other limited resources and if yes, which are these or where can this ...
17
votes
2answers
608 views

Tex capacity exceeded compiling only 50 lines latex file (pdftex), seg. fault (lualatex)

This is one of the strangest things I've seen in Latex (and I have seen many strange things). 50 lines of code, almost all of it is verbatim. Any small change to the verbatim can cause the error to ...
1
vote
0answers
33 views

Asymptote out-of-memory error when plotting many points

I am using Asymptote 2.37 on Windows 7. I'm trying to make some large scatter plots but get a memory error. When trying to process the following MWE unitsize(10inch); for (int i = 0; i < 140000; ...
1
vote
0answers
32 views

tex capacity exceeded using the lstlisting package [duplicate]

Using the lstlisting package on a large number of items (200 +) I get ! TeX capacity exceeded, sorry [pool size=3174358].<argument> \XC@@tmp \FPsub{\scratch}{1}{\scratch} % I have absolutely ...
4
votes
5answers
28k views

Error Latex TeX capacity exceeded, sorry [input stack size=5000]

I want to test this template http://students.engr.scu.edu/~sschaeck/latexforthesis/. when i run the makefile i get this error .Please what does it mean this error here the code : \documentclass[...
2
votes
1answer
31 views

A forest tree exceeds TeX input stack size = 5000

I am using forest 2015/07/15 v1.0.10 in texlive-pictures 2015.38755. The code below \documentclass[oneside,12pt]{article} \usepackage[a4paper]{geometry} \usepackage{microtype} \usepackage[T1]{...
1
vote
1answer
75 views

exceeding memory with tikz (even after externalise)

The issue is quite simple, I have a bunch of figures being generated with tikz (which in turn calls gnuplot). In order to bypass the memory issue I externalised tikz, which was fine until I tried ...
0
votes
0answers
26 views

! TeX capacity exceeded, sorry [main memory size=5000000]. '->\leavevmode \kern \z@ [duplicate]

Running windows XP with TeXlive trying to digest a large output from Doxygen, and create a single PDF. Picked up this message, which halted the process and destroyed the PDF file in progress... ! ...
0
votes
0answers
28 views

How can I avoid running out of memory when creating long, multipage tcolorbox's?

How can I avoid exceeding TeX's maximum memory when typesetting long tcolorboxes. I have some really long license codes that are wrapped by a tcolorbox environment. Unfortunately, some licenses ...
3
votes
0answers
201 views

Texshop memory leak (every texing increases memory usage) [closed]

so I'm having precisely the issue described here: https://sourceforge.net/p/texshop/bugs/87/ I'm using TeXShop 3.58 on a Macbook pro running El Capitain. Roughly speaking, I'm working on my thesis (...
1
vote
0answers
49 views

Compiling error: memory dump file and forward search

I am struggling with my miktex installation for a while and don't seem to get it working just right. I did however, manage to install everything just fine on my other Laptop, so I figure, the problem ...
22
votes
1answer
290 views

Summary of TeX Capacity Limits

I seem to often run into capacity issues and have been upping the limits each time. There are several question on this site pertaining to these. However, there seems to be some conflicting information ...
2
votes
1answer
233 views

10 words of extra memory for PDF output out of 10000 (max. 10000000)

can someone explain me the message that appears in PDF statistics log file, if it is important how to avoid it ? 10 words of extra memory for PDF output out of 10000 (max. 10000000) I am using ...
1
vote
1answer
186 views

TeX capacity exceeded using pgfplots with/without externalization

The following MWE compiles (for me) \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=newest} \usetikzlibrary{external} \tikzexternalize[prefix=figures/externalized/] \begin{...
0
votes
0answers
180 views

pdflatex fatal error because of Bad parameter value, font_mem_size

during plotting graphics with pgfplot I faced the problem of two many data points in one plot so I first tried to avoid it, but later I needed more data points. This question How to expand TeX's ...
4
votes
1answer
157 views

increasing hard coded memory limits of latex

I am drawing a 3d-surface plot with pgfplots, with input data from some simulation results. As the shader-option faceted interp results in huge pdf-files, I wanted to switch to faceted and increase ...
18
votes
2answers
12k views

Increasing TeX's main memory

I have a plot with a lot of measurement datapoints. I exported this plot from Matlab2tikz. When I tried to compile, it said that the memory was exceeded. I found this question and it tells me that I ...
6
votes
1answer
89 views

How can I retrieve the number of currently defined macros?

The following will max-out TeX's memory: % arara: pdftex \nonstopmode \input expl3-generic \relax \ExplSyntaxOn \int_zero:N \l_tmpa_int \int_while_do:nn { \l_tmpa_int < 490000 } { \cs_new:...
3
votes
1answer
221 views

TeX capacity exceeded, sorry [input stack size=5000] error with glossaries

I'm getting the following error when I simply include \gls{rsh} in my paper, and there's clearly an okay reference to rsh in my file glossaries.tex, which looks like the entry below: \...
3
votes
1answer
72 views

! TeX capacity exceeded using glossaries

I am trying to generate a list of math symbols, based on How to create a list of symbols where symbols can be used in math mode?. When I try to use the code below it gives me an error of '! TeX ...
2
votes
1answer
75 views

Texworks and texmf.cnf (export command?)

I created a texmf.cnf file on ~\texmf\mytexncf\. I added the export command export TEXMFCNF=~/texmf/mytexcnf: in my source shell files (.bashrc and .zshrc). Then I ran texhash. When I execute a ...
5
votes
1answer
115 views

is it possible to have too many things in preamble?

this might seem like dumb question, but .. I'm going to ask it anyway since I'm not an informatician I don't know quite how this works actually. I'm working on my Phd now and I already have ...
14
votes
1answer
330 views

why lualatex gives erorr “Too many open files” but pdflatex does not on same latex file?

Using TL 2015 on Linux. I have a latex file which includes graphics, all in pdf format. All the images are included using the call \includegraphics[width=\textwidth,height=\textheight,...
1
vote
0answers
75 views

Too big pdf images in latex file? [closed]

I have six 4MB pdf images of Excel graphs included in my latex code and now the compiler has much problem to load and update. Can images become too big in terms of memory or shouldn't that be a ...
0
votes
1answer
40 views

How to increase pool size for tex4ht

I have a large document, and after compilation using tex4ht I observed that output html file did not contain all text. Some sections were missed. It seems to me that memory pool is not enough. How ...
0
votes
0answers
114 views

Tex uses much memory due MinionPro package [Solved]

I'm starting using MinionPro package. I follow the steps for install it package from https://www.ctan.org/tex-archive/fonts/minionpro/ ... I have no problems with installation. Here is my .tex file (...
41
votes
5answers
42k views

Tex capacity exceeded, sorry [input stack size = 5000]

This is the error I am getting since I have added some new references to my .bib file. I think is more than a filled stack. Any ideas? references.bib It was requested a minimum working example but I ...
55
votes
1answer
1k views

Can TeX generate “heap dumps” to analyze+optimize out-of-memory situations?

As package author of the memory-extensive package pgfplots, I have been asked to analyze some out-of-memory situation. I could identify the "culprit"; it was some call to \pdfmdfivesum in which it ...
2
votes
1answer
137 views

LaTeX Compilation & Memory Question

Good Day, I'll explain my situation for reference before I dive into the question. I am writing a fairly lengthy report in LaTeX. The report will probably end up being over 60 pages and have ...
3
votes
1answer
205 views

Pdflatex on file with large amount of pictures

I have a tex file that's generated by an automated bioinformatics pipeline as a report. Usually, this is roughly 50-150 pages, but that's based on 1-3 samples. It contains many quality control graphs. ...
6
votes
1answer
146 views

How can I reduce the memory required for following example (nested ‘for’ loops)

I want to plot a convolution of two spectra. The first one is a weighted dirac comb, the second a defined function. To do this I used two nested for loops but the calculation exceed the Tex capacity (...
2
votes
2answers
251 views

Forest causing PdfLatex to run out of memory

I asked this question almost a year ago but did not have much luck. MikTex's PDFLaTeX has been updated since, but the error is still there: ! TeX capacity exceeded, sorry [save size=50000]. Full ...
4
votes
1answer
214 views

XeLaTeX RAM usage problem (bug?)

There is something wrong with Xe(La)TeX's memory-management with some fonts: Compiling the following MWE with up-to-date xelatex on Mac OS X 10.7.5 uses up to 2.2 GB of the total 4 GB RAM available ...
3
votes
1answer
686 views

Compiler error “save size exceeded”

I have a problem with compiling my thesis. Due to a new plot I inserted, it lo longer compiles. According to this guide, i increased the limits for lualatex as follows: pool_size=5000000 main_memory=...
2
votes
0answers
312 views

TeX capacity exceeded despite system call LuaLaTeX [closed]

I'd like to plot some measured values with TikZ, but despite "calling" LuaLaTeX I get the error message that TeX's main memory is exceeded. I can compile the plots under LuaLaTeX but it doesn't work ...
1
vote
0answers
329 views

Memory overload due to pgfplots / tikz

first of all, I need to mention that there are 2 related threads, that I found usefull: 1, 2. I am working with TeXstudio 2.8.8 on Win 7 64bit (i5 @3.3GHz, 8GB RAM - if this matters). My goal is to ...
2
votes
1answer
369 views

Compile extremely large file into pdf

I am using Django and it's templating system to dynamically generate Latex and then compiling it with pdflatex, which works great. The problem is when the latex that gets generated is 30,000+ lines ...
1
vote
2answers
187 views

Memory error on writeLaTeX - Externalize or other solution to build dense plots docs

TeX capacity exceeded, sorry [buffer size=20000 There are questions about memory exhaustion when building docs with tikz plots in it. I could not find a solution, though. Downsampling is not an ...
7
votes
1answer
597 views

Lualatex capacity exceeded with Gb's of free RAM

I'm trying to compile dense graphs generated my matlab2tikz (file size ~ 50Mb). I'm running lualatex and externalising with lualatex \tikzset{external/system call={lualatex \...
4
votes
1answer
2k views

TeX capacity exceeded, sorry [save size=50000]

I am on Mac OS X Lion latest, and get the error trying to compile my large multi-page project. This happens after adding one more code listing (shown below). The full error is: TeX capacity exceeded,...
3
votes
1answer
2k views

How to increase the memory if I get this error TeX capacity exceeded

I am using the following codes to input DNA sequences from fasta format (177 sequences with 1140 base pair long) Using texshade package but I had the following error: my system is: Windows 7 (64 bit) ...
3
votes
1answer
975 views

Warning for TeX main capacity exceeded when loading files with \pgfplotstableread

I am loading quite a few data files via \pgfplotstableread, but do not further use them via pgfplots. I just kept them in the preamble and switched to plotting them in a standalone document. But now I'...
0
votes
0answers
34 views

How to collect data and put the content on the last page?

I would like to collect some numbers into a list, and put the numbers on the last page, for example separated by comas.
1
vote
1answer
167 views

too big latex document [closed]

I am facing a problem again. I am using Miktex2.9 with Texnic center 2.02. The document I want to compile has almost 160000 line of code and almost 6000 pictures. The code was generated automatically ...
4
votes
0answers
248 views

Forest with ~500 nodes runs out of TeX memory [duplicate]

When using Forest package to chart an organizational structure, I have to limit it to 4-5 hierarchy levels, as both pdflatex or lualatex throw an error ! TeX capacity exceeded, sorry [save size=50000]....
0
votes
1answer
2k views

Another TeX capacity exceeded, sorry [input stack size=5000] [closed]

I got another error as below TeX capacity exceeded, sorry [input stack size=5000]. [...ial,right= of m0] (A1B1C1) {$A_1B_1C_1$};] Here is the code \documentclass[12pt, a4paper, oneside]{standalone} ...
2
votes
0answers
484 views

Save size exceeded 80000 - which texmf.cnf to edit?

This started as a comment on David Carlisle's answer http://tex.stackexchange.com/a/134599/37570 Running under Windows, I see 2 texmf.cnf files: under \texlive\2013 and \texlive\2013\texmf-dist\web2c....
2
votes
0answers
78 views

! TeX capacity exceeded, sorry [main memory size=5000000] [duplicate]

I am writing a thesis, it is very long now over 300 pages. I am using glossary package a lot, and I am using two computers. When I compile my .tex file over my laptop I get the following error: ! TeX ...
2
votes
1answer
2k views

initexmf error — to increase pdflatex memory [closed]

I am trying to increase main_memory for pdflatex compiler in win7 64. Using initexmf didn't work. This is the error I get: >initexmf --edit-config-file=pdflatex initexmf: Invalid argument. ...