Questions tagged [memory]

The tag has no usage guidance.

2
votes
3answers
92 views

Drawing a memory layout diagram with Tikz

I'd like to draw a memory layout diagram in Tikz that looks a bit like the following: Note that the original was an SVG file, and conversion to PNG causes the weird [Not supported by viewer] errors, ...
2
votes
0answers
64 views

pgfplots: Best practice to avoid “TeX capacity exceeded” when plotting huge data sets?

I want to create some huge pgfplot with three different axis and a lot of data points. In summary there are 20160 lines of data existent. My problem is: All few hours the values will change ...
0
votes
0answers
49 views

TeX capacity exceeded: Is available main memory size depending on machines RAM?

I had the case that I ran into TeX capacity exceeded several times when compiling a pgfplot with lots of data points on a machine with 4096 MB RAM. Now I've tried to compile the very same file on a ...
1
vote
0answers
140 views

TeX capacity exceeded: How to increase main memory size of TeX Live on a Debian machine?

When trying to compile a huge pgfplot with several plots I receive the following error: TeX capacity exceeded, sorry [main memory size=5000000]. \end{document} There is no error in code as compiling ...
1
vote
0answers
61 views

capacity problem with some packages

I 'm trying to draw the plot of f(x)=sin(1/x) with pgfplot, but I get an error message: ! TeX capacity exceeded, sorry [main memory size=3000000]. I realized that when I delete one of the ...
2
votes
1answer
50 views

Huge pstricks graph max memory exceeded

i have to update a very old reporting system wich uses latex, dvips and gs to generate pdf reports. On the old server, the following is installed: pdftex --version pdfTeX 3.1415926-1.40.10-2.2 (TeX ...
1
vote
0answers
59 views

Is there any way to free up the TeX memory?

As described in this quesion TeX memory is very limited due to the limitation of the computer in time of TeX invention. I want to know is there any way to free up the TeX memory before reaching its ...
2
votes
0answers
71 views

Increase save_size on texlive on windows

While compiling a short file with spreadtab, I got the following error: ! TeX capacity exceeded, sorry [save size=80000]. Based on other answers in this site, I ran on a Windows shell: kpsewhich -a ...
1
vote
2answers
230 views

Running out of memory with MikTex

I am attempting to build a number of figures with tikz...one keeps failing to build and the log file indicates I'm running out of memory. I've used initexmf --edit-config-file pdflatex initexmf --...
1
vote
1answer
388 views

How to increase memory size for xelatex in MikTeX

I'd like to enlarge the memory size used by xelatex. In the MikTeX documentation it says: The name of the configuration file is that of the engine (e.g., miktex-pdftex) or format (e.g, miktex-...
0
votes
1answer
218 views

nested list in beamer with numbers and bullets

I want to create a nested list in beamer exactly as follows: This example is from https://www.sharelatex.com/learn/Lists. I tried many many examples using enumerate only, enumerate and itemize ...
2
votes
1answer
163 views

How much memory does LuaTeX use?

I've had issues compiling documents this week using LuaTeX on my laptop, where LuaTeX seems to gobble up as much memory as it can, totally crashing the laptop—i.e. requiring a hard reset as it's ...
0
votes
0answers
86 views

TeX capacity exceeded involving \q_nil

The following complete example (that I'm sorry I didn't succeed to make more minimal) used to compile like a charm (I guess with a not updated TL 2017) but that's not the case anymore: ! TeX ...
1
vote
0answers
404 views

TeX capacity exceeded, sorry [main memory size=3000000] [closed]

I am trying to plot a load displacement curve using pgfplots. I am getting the following error message. "TeX capacity exceeded, sorry [main memory size=3000000]" I am trying to find a solution to ...
1
vote
2answers
61 views

Process a large glossary?

I have a 1.1MB file with 20k acronyms (gene names). I don't use all of the acronyms in my text, but I still get the error message below, when I try to compile. How can I avoid this? (./tex/glossary....
1
vote
0answers
259 views

lack of memory for big document

I have big document in LaTeX (approx. 1000 pages, tens used packages, math, hundreds references \bibitem + \cite, cross-references \label + \ref, indices \index, tables and TikZ figures). The document ...
3
votes
1answer
125 views

plot many lines

I have generated pstricks-code from data: \psset{unit=10cm} \begin{pspicture}(0,0)(1,1) \psline(0.22029880495812262,0.23497192515414284)(0.21975600857793104,0.23394684903842253) \psline(0....
2
votes
1answer
2k views

How to increase TeX main memory size

I am working on a LaTeX file with many plots containing a lot of data points. I have a main.tex file that is including chapter files and inside these chapter files I include the files that contain the ...
3
votes
2answers
546 views

What is the limit of setting main_memory and pool_size in pdftex

I have a very big document (>50,000 pages), which I am trying to build. Unfortunately I am getting memory errors, therefore I tried to increase the memory. While increasing the memory I encountered ...
1
vote
0answers
644 views

Latex Tikz externalize with shell escape does not work

Im trying to use the Tikz externalize, because for some tikz pictures the file gets to big and exceeds the memory size. I found a lot of other topics with similar problems, but non of the solutions ...
2
votes
1answer
345 views

! error: (lua): not enough memory

I have a heavy document that is compiled with LuaLaTeX (TeXLive). On Linux, no problem. On Windows, it stop compiling in the middle of the document with the error: ! error: (lua): not enough memory !...
2
votes
0answers
285 views

LuaLaTeX runs out of memory [closed]

I have a very very long LaTeX file. It's 4536017 characters long and 2119 lines. It's basically one giant equation I generated with a Python script. My problem is when I run lualatex output.tex from ...
8
votes
2answers
299 views

What is the limit number of \label in a document?

with a group of teachers friends we are compiling the national and international tests applied in my country from 1980. These are "multiple choice" tests, with most of the tests already written using ...
0
votes
1answer
206 views

Plot a huge file with gnuplot

I need to plot a huge files like this one : https://www.dropbox.com/s/u63eu6497iogska/fichier.dat?dl=0 I wanted to use pgfplot in tikz but latex tell me there is not enought memory (even giving it ...
4
votes
1answer
88 views

memory problems after migration to texlive 2016 and forest 2.0

I have an 800+ page book and it compiles fine with xelatex and forest 1.05 under texlive 2015. I am migrating to texlive 2016 since my translator works with forest 2.0. Now I get: ! TeX capacity ...
5
votes
2answers
475 views

error tex capacity exceeded log files added

I am having a hard time figuring out where the problem is with my code/workflow. I previously posted this question here, but then the same problem came straight back. When I run it in tex, I get an ...
5
votes
1answer
3k views

How to survive with: Here is how much of TeX's memory you used?

I am a rookie of LaTeX. TeXstudio( with TeXLive distribution) is saying to me that: ! Emergency stop. <*> ./ARelazioneDCP.tex *** (job aborted, no legal \end found) ... Here is how much of ...
1
vote
1answer
131 views

PGFPlot: Single plot even too big for main memory

If we run the following python program, we get a 100.000 lines test.dat import random with open("test.dat","w") as f: f.write("x y label\n") for i in range(0,100000): clazz = 0 if i % ...
28
votes
3answers
1k views

Make my infinite squares math-proof

I created a command that makes a square of text in ever-decreasing sizes to create the effect of infinite decrease. But if I increase the starting width, or change the scale factor, TeX has an ...
1
vote
2answers
352 views

Error: Tex capacity exceeded when using \input with gnuplot output tex

On compiling the tex file I'm getting an error errorf.tex, line 103, Tex capacity exceeded, sorry [parameter stack size=10000]. \gplbacktext when trying to compile the next file: \documentclass[...
2
votes
1answer
582 views

Beamer warning: large interlaced PNG might cause out of memory

I have a long Beamer presentation that gave me no errors or warnings on texlive 2013, but since I upgraded to texlive 2015, I get the following warning: large interlaced PNG might cause out of ...
2
votes
1answer
2k views

Pgfplots - large plot - TeX capacity exceeded

I have a following code, which is supposed to generate some output and one large plot from the file data5.csv: \documentclass[a4paper, landscape]{article} \usepackage{amsmath} \usepackage{pgfplots} \...
5
votes
2answers
516 views

TeX capacity exceeded when calling LuaLaTeX

I am using recently updated MacTex Distribution 2016 on a MacBook Pro Mid 2009 and Texmaker is my editor. I want to include a phase portrait created with matlab2tikz with a lot of lines. Reducing the ...
6
votes
1answer
159 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
990 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 ...
3
votes
0answers
208 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; ...
0
votes
0answers
64 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 ...
2
votes
1answer
181 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]{...
0
votes
0answers
65 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
773 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
1answer
2k 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 ...
1
vote
0answers
208 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
500 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 ...
1
vote
1answer
2k 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 ...
5
votes
1answer
3k 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{...
4
votes
1answer
564 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 ...
3
votes
1answer
219 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
335 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 ...
4
votes
1answer
314 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 ...
13
votes
1answer
664 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,...