Questions tagged [memory]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
32 views

Adjust memory size not success for LaTeX by TexLive in Windows 11

I make a LaTeX file with a long table with tabularray.sty and xelatex and Texworks show me that memory size not enough. My computer has 16GB memory and I allocated 50GB virtual memory for my computer. ...
  • 731
0 votes
0 answers
36 views

Pdflatex exceeding memory using tikz when externalizing the HUGE figures

This issue has bothered me for long time and I couldn't solve it: I have a .tex file with 12 figures and 8 of them are extremely large (containing lots of data points), and that's why I am using \...
0 votes
0 answers
22 views

TOC disappears when loading both 'tikz' and certain glossary commands. Memory issue?

I am having an issue with a quite big project. The table of contents is empty and the error messages No room for a new \write. and Bad number (16). are thrown. Note: I have included the code at the ...
  • 31
0 votes
0 answers
22 views

Avoiding words of node memory still in use

I am using lualatex on a file wasp.ltx and getting 427 words of node memory still in use: 4 hlist, 1 vlist, 1 rule, 4 glue, 3 kern, 1 glyph, 7 attribute, 46 glue_spec , 5 attribute_list, 1 write ...
  • 67
0 votes
0 answers
72 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 ...
  • 1,814
1 vote
1 answer
37 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 ...
  • 187
3 votes
3 answers
581 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 ...
1 vote
0 answers
32 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=...
  • 111
4 votes
1 answer
176 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 ...
0 votes
0 answers
67 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-...
1 vote
0 answers
146 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 ...
  • 57
1 vote
1 answer
83 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 ...
  • 11
1 vote
1 answer
152 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} ...
0 votes
0 answers
237 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{...
0 votes
1 answer
358 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 ...
1 vote
0 answers
104 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 ...
  • 53
0 votes
1 answer
226 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 ...
  • 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 ...
  • 123
0 votes
0 answers
285 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 ...
's user avatar
0 votes
0 answers
70 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 ...
0 votes
0 answers
42 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} \...
1 vote
0 answers
195 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 ...
1 vote
0 answers
89 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
0 answers
142 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[...
  • 19
5 votes
2 answers
1k 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
2 answers
221 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?
  • 3,656
0 votes
0 answers
366 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
1 answer
347 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 ...
  • 300
0 votes
1 answer
197 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 ...
2 votes
0 answers
165 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 ...
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, ...
3 votes
0 answers
310 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 ...
  • 3,488
0 votes
0 answers
97 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 ...
  • 3,488
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 ...
  • 3,488
1 vote
0 answers
98 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
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 ...
  • 21
1 vote
0 answers
147 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,332
3 votes
0 answers
218 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
2 answers
642 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 --...
  • 735
4 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-...
  • 257
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 ...
  • 183
2 votes
2 answers
539 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 ...
  • 2,783
0 votes
0 answers
138 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
0 answers
817 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 ...
  • 93
1 vote
2 answers
118 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
0 answers
1k 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
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....
3 votes
1 answer
7k 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 ...
  • 650
0 votes
0 answers
108 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 ...
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 ...
  • 131