Questions tagged [memory]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
37 views

Memory management (flushing) in LaTeX

There are a number of questions here on memory management, but as far as I could see none that quite addresses my problem. I'm running TeXShop under Mac OS 10.12, typesetting an extremely large book. ...
0
votes
0answers
30 views

Error using standalone.sty - memory exceeded

I have the following in my preamble: \documentclass[12pt,PhD,wordcount,twoside,anon]{muthesis} \usepackage{graphicx,stackengine} \usepackage{url} \usepackage{tikz} \usepackage[...
4
votes
2answers
176 views

Increasing memory

I am working on a document which produces ~4000 pages, each with at least 30 graphics per page. There is a lot of font switching and colouring different characters different colours. I am able to ...
4
votes
2answers
142 views

What definition takes up more memory, \def or \chardef (considering \def contains a single character)?

The question is entirely in the title. Let's take \def\testName{a} and \chardef\testName`\a. Which of the definitions requires more memory?
0
votes
0answers
57 views

pgfplots/tikz externalize to avoid memory cap not functioning

I'm trying to use tikz and pgfplots to draw graphics made in R using ggplot but I've been running into the memory cap in TeX: TeX capacity exceeded, sorry [main memory size=3000000]. \end{tikzpicture}...
0
votes
1answer
116 views

PDFA generated with pdfathesis is 20 times as big as the normal PDF

I was happy to being able to create a PDFA document of my dissertation by means of the pdfathesis package. However, my dissertation in PDF format uses 3MB while the PDFA file is 85.3MB big. I found ...
0
votes
1answer
119 views

How do I compile an extremely large PDF?

I am using LuaLaTeX to compile a file that will have estimated 4,000 pages. Quite obviously, though for Lua engine itself there are no complications in the file, my system runs out of memory on Page ...
1
vote
0answers
51 views

TeX Live: “(lua): Not Enough Memory” | Chinese Fonts

I have a freshly installed and updated TeX Live system. I want to compile a simple LuaLaTeX document containing Chinese characters (see below, not a MWE, just for illustration). During the compilation ...
2
votes
3answers
476 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
100 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
58 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
333 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
70 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
61 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
76 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
92 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
304 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
563 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
361 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
2answers
239 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
101 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
480 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
66 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
437 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
151 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
723 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
790 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
493 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
348 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
352 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
247 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
92 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
526 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
4k 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
155 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 % ...
29
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
381 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
685 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
3k 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} \...
6
votes
2answers
594 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
164 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
1k 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
248 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
101 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
212 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
70 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
831 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
213 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 ...