Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [memory]

The tag has no usage guidance.

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

xdvipdfmx shows out of memory problem

I am running a file contain 800+ pages nearly 300 Images, when compile the file in TeXlive/xelatex, it shows the error "xdvipdfmx:fatal: Out of memory - asked for 21624001 bytes" same file ...
user avatar
  • 1,774
1 vote
1 answer
35 views

Automatically register arguments a command is used with

I am wondering whether it is possible to create some sort of set to keep track of elements in latex. One intended usage would be to automatically generate a list of arguments that have been passed to ...
user avatar
  • 187
3 votes
3 answers
534 views

Display bytewise memory layout

I want to graphically represent the memory layout of an eeprom. I'd like to have a similar graphic like this one: I especially need to write on top of an underlying table structure with differnt ...
user avatar
1 vote
0 answers
26 views

Why doesn't Kile use my build arguments?

Currently, I am working on a .tex file on Windows using Kile editor. If I use the following command to compile the file via terminal, everything works fine: pdflatex --enable-write18 --extra-mem-bot=...
user avatar
  • 111
4 votes
1 answer
152 views

What is a reasonable setting for longtable's LTchunksize in modern LaTeX?

The longtable manual says: By default longtable uses 20 rows per chunk, but this can be set by the user, with e.g., \setcounter{LTchunksize}{10}. These chunks do not affect page breaking, thus if you ...
user avatar
0 votes
0 answers
46 views

TeXstudio doesn't accept memory changes

I have rather big pgfplots in my TeX file. I'm using TeXstudio and PdfLaTeX. My PdfLaTeX command looks like follows pdflatex.exe -synctex=1 -src-specials -interaction=nonstopmode -enable-write18 -main-...
user avatar
1 vote
0 answers
118 views

LuaLaTeX: How to reduce the file size of the generated PDF on the fly?

I'm using LaTeX to generate a PDF that will have around 1500 - 2000 pages. The PDF includes a lot of pictures. Approximately 5000 photographs (JPG) that are each 2MB and a couple of hundred smaller ...
user avatar
  • 57
1 vote
1 answer
64 views

Bib file seems to be too large for TexPad "pool size exceeded"

I'm using Texpad to write a book chapter. This is a review so the bibliography is very large. I'm using BiBDesk to generate my bib file. After working on the chapter my references started showing up ...
user avatar
  • 11
1 vote
1 answer
124 views

TeX capacity exceeded even though I externalize

here is my MWE: documentclass[10pt, a4paper, twoside, ngerman]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage{siunitx} \usepackage{geometry} \usepackage{tikz} ...
user avatar
0 votes
0 answers
206 views

Again: ! TeX capacity exceeded, sorry [save size=500000] (LuaLaTeX, MikTeX)

I'm getting the following error message compiling my PhD-file (used: LuaLaTeX, MikTeX 2.9): ! TeX capacity exceeded, sorry [save size=500000]. <to be read again> \relax l.90 \include{...
user avatar
0 votes
1 answer
240 views

Problems Changing default memory size [main memory size=5000000]

I have a large project (a book) of c 450 pages in length. I am using TexShop on OSX with LaTeX to produce a PDF. The project builds on the first pass, but on the second pass when it is filling in the ...
user avatar
1 vote
0 answers
86 views

"TeX capacity exceeded, sorry" when drawing graph with PGFplots (whats the max that can be drawn)

Hey I have this graph I'm trying to draw but it uses about 15k (x,y) coordinates. When trying to create this document I'm getting this error that tex capacity is exceeded. Is there any way I can still ...
user avatar
  • 53
0 votes
1 answer
206 views

Problem with too many sections and subsections

I have been trawling this website for several days but found nothing close to my problem. The only questions that came close, I think, were dealing with inserts and memory requirements. I have cut ...
user avatar
  • 179
0 votes
0 answers
43 views

Error Message: TeX capacity exceeded [duplicate]

I have a large book (1052 pages) it's got a lot of pictures and even more endnotes (2037 to be exact). We've recently switched to a system where we have a database that all of the reference info is ...
user avatar
  • 113
0 votes
0 answers
244 views

Memory Exceeded - Words of Memory

Hoping someone might able to assist or point me in a direction to possibly solve this issue if at all can be. I am creating a very large TEX file using LaTeX pdf. I know after reviewing many posts ...
user avatar
0 votes
0 answers
54 views

Error when creating a new section

I wanted to split a section of my document into to two sections, so I went write \section{title} as usual in the place where I wanted the new section to start. I get this huge error message (the names ...
user avatar
0 votes
0 answers
37 views

tex exceeded capacity when writing simple paragraph

I have a very simple latex code after watching a youtube video which is as follows \documentclass[a4paper]{article} %\usepackage[]{tabular} \usepackage[•]{color} \title{Kodie Data} \author{Kodie} \...
user avatar
1 vote
0 answers
174 views

How to increase memory limit in LuaHBTeX (near-duplicate)

This question is essentially a reiteration of Increasing memory which I posted. I was satisfactorily able to get the magic numbers (! TeX capacity exceeded, sorry [number of strings=480992]) up to ...
user avatar
0 votes
0 answers
67 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. ...
user avatar
0 votes
0 answers
120 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[...
user avatar
  • 19
5 votes
2 answers
913 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 ...
user avatar
4 votes
2 answers
204 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?
user avatar
  • 3,616
0 votes
0 answers
310 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}...
user avatar
0 votes
1 answer
341 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 ...
user avatar
  • 300
0 votes
1 answer
181 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 ...
user avatar
2 votes
0 answers
150 views

TeX Live: "(lua): Not Enough Memory" | Chinese Fonts [closed]

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 ...
user avatar
3 votes
3 answers
2k 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, ...
user avatar
3 votes
0 answers
282 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 ...
user avatar
  • 3,448
0 votes
0 answers
81 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 ...
user avatar
  • 3,448
1 vote
0 answers
2k 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 ...
user avatar
  • 3,448
1 vote
0 answers
96 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 ...
user avatar
2 votes
1 answer
89 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 ...
user avatar
  • 21
1 vote
0 answers
135 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 ...
user avatar
  • 2,302
3 votes
0 answers
206 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 ...
user avatar
1 vote
2 answers
591 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 --...
user avatar
  • 715
3 votes
2 answers
2k 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-...
user avatar
  • 237
0 votes
1 answer
2k 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 ...
user avatar
  • 183
2 votes
2 answers
500 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 ...
user avatar
  • 2,763
0 votes
0 answers
133 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 ...
user avatar
1 vote
0 answers
797 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 ...
user avatar
  • 93
1 vote
2 answers
110 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....
user avatar
1 vote
0 answers
962 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 ...
user avatar
3 votes
1 answer
176 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....
user avatar
3 votes
1 answer
6k 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 ...
user avatar
  • 640
0 votes
0 answers
105 views

TexLive's texmf-local folder storing a lot of files (over 80GB!)

Using a storage scanning application I noticed that on my macOS Sierra a lot of files are being stored in the folder /usr/local/texlive/texmf-local. It seems that in this texmf-local some kind of old ...
user avatar
3 votes
2 answers
1k 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 ...
user avatar
  • 131
1 vote
0 answers
1k 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 ...
user avatar
2 votes
1 answer
842 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 !...
user avatar
2 votes
0 answers
439 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 ...
user avatar
8 votes
2 answers
575 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 ...
user avatar