The tag has no wiki summary.

learn more… | top users | synonyms

27
votes
2answers
2k views

Components of (La)TeX's memory usage

After reading Increase LaTeX capacity and not being able to summon Gandalf1, I am curious to know what contributes to the components of memory usage during a (La)TeX compilation. Take the above post's ...
25
votes
2answers
610 views

How good a juggler is TeX?

I recently made an adaptation of pgfpages which allows one to gather in several typeset pages and then lay them out in some layout over several physical pages (the original pgfpages only allows one ...
24
votes
0answers
396 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 ...
22
votes
1answer
297 views

Are there limits to the number of new macros or commands in TeX/LaTeX

Is there a maximum number of new definitions such as \def\myNewDefA{foo} \def\myNewDefB{bar} ... \newcommand\myNewMacroA{foo} \newcommand\myNewMacroB{bar} one can have in a document typeset with ...
11
votes
2answers
3k views

Increasing TeX's main memory

I have a plot with a lot of measurement datapoints. I exported this plot from Matlab2tikz. When I wanted to compile this, it said that the memory was exceeded. Now I found this, How to expand TeX's ...
11
votes
2answers
114 views

increase \hyphenation{word1 word-2…} capacity

We use LaTeX to typeset a large collection of books with many proper names. We use the \hyphenation{word1 word-2...} command to specify words that should not be hyphenated and to suggest hyphenation ...
11
votes
1answer
113 views

Tex capacity exceeded (string characters) (well it's about to be exceeded)

As per my earlier question TeX capacity exceeded (save size), I am generating a fairly large index of .txt, .tex, and .pdf files. This process has worked for a long time, and the size of the index is ...
9
votes
2answers
3k 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 ...
9
votes
1answer
250 views

Why does TeX have limited capacity?

With today's computers having several gigabytes of memory, why does TeX still have such limited capacity, and why are modern TeX installations not adjusted for higher capacity by default? Why is ...
8
votes
3answers
207 views

How to use a large number of arbitrary rgb colors in a TikZ image?

I have a document with some TikZ images in it, which are automatically generated from a program I have written. All images are fairly similar, and each of them contains of a large number of squares ...
7
votes
0answers
3k views

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

I wrote a C++ code, which will create a LaTeX file with Tikz commands. The tex file the code creates is pretty long i.e. around 43,000 lines. However, when I try to compile it gives me the following ...
6
votes
2answers
174 views

How to increase the node memory size in ConTeXt?

With a very large document, after about 30 minutes of compiling with context, I get this error: ! TeX capacity exceeded, sorry [node memory size=100987760]. I added a line to texmf.cnf which says ...
6
votes
2answers
152 views

Does \let use pointers?

Does \let really create a new control sequence, or does it just assign a pointer to an already defined control sequence? Knuth says that: let\cs=<token> gives \cs the token's current ...
6
votes
1answer
552 views

TeX capacity exceeded (save size)

I am generating a fairly large index of .txt, .tex, and .pdf files. This process has worked for a long time, and the size of the index is not the issue. I have added logic to insert additional links ...
6
votes
1answer
319 views

XeLaTeX warning - objects still allocated in memory

I'm typesetting a document in XeLaTeX and keep getting this message: ** WARNING ** 1735 memory objects still allocated You may want to report this to tex-k@tug.org What does it mean? Am I to worry ...
5
votes
1answer
271 views

No room for a new \read/\write

I've already searched a lot about it and there seems to be no possible way of increasing the number of files (La)TeX can open. This for example, gives an explanation about the error message. I've also ...
5
votes
0answers
185 views

LuaLaTeX — too high memory usage [closed]

I've recently made my project buildable under LuaLaTeX. This is a bibliography database project which uses biblatex and biber to compile the database to produce something about 66-paged pdf file. ...
4
votes
1answer
269 views

Displaying memory variable values

TeX uses a variety of files to set the maximum memory of various items, e.g. "pool size". Is there a command which will print the values of all of these variables?
4
votes
1answer
163 views

Running out of main memory when using loops in TikZ

I have a TikZ drawing (namely, pairs of rulers) that I want to replicate 12 times, side by side. I'm using foreach constructs to help me in this process and to draw the 5-cm, 1-cm and 1-mm ticks for ...
4
votes
1answer
1k views

How to increase pool size in MiKTeX 2.9

I'm using MiKTex 2.9.4196 with TeXnicCenter 2.0 beta on Windows 7. As I have to compile very large tikzpictures I use tikz externalize. Nevertheless some tikzpicture still produce an error. ! TeX ...
4
votes
1answer
336 views

No room for a new \mathgroup

Using MnSymbol, bm and pxfonts together causes No room for a new \mathgroup MWE: \documentclass{article} \usepackage{MnSymbol} \usepackage{bm} \usepackage{pxfonts} \begin{document} ...
4
votes
1answer
2k views

How to increase bufsize for lualatex or pdflatex?

I work with large TikZ graphics for which the default bufsize of lualatex/pdflatex is too small: Unable to read an entire line---bufsize=200000. Please increase buf_size in texmf.cnf. Is there a ...
4
votes
0answers
846 views

! TeX capacity exceeded, sorry [input stack size=5000]. \maketitle [closed]

I have seen many threads about this error, but none seems to help with my particular issue. This is my code, which including suggestions for the required packages, I intend for it to be the minimum ...
3
votes
0answers
107 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 ...
2
votes
2answers
10k 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 : ...
2
votes
1answer
382 views

Increasing the size of the memory: not all files are built successfully

I am trying to compile a large file which contains a tikz picture with more data points than tex can handle. Following the questions here and here I set to increase the capacity of tex by changing ...
2
votes
0answers
44 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
0answers
78 views

Why does LaTeX impose a memory limit of 8,000,000 and can I circumvent it? [duplicate]

A few people have already asked the question of how to increase the maximum memory LaTeX is allowed to use (see here and here) because it is quite common for LaTeX to run out of memory when using, for ...
2
votes
0answers
90 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 ...
2
votes
1answer
347 views

xelatex memory problem [closed]

I have problem while running xelatex: TeX capacity exceeded, sorry [main memory size=1500000]. I tried increasing memory limits in texmf.cnf (also ran fmtutil-sys), but I hit maximum allowed and it ...
1
vote
1answer
105 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. ...
1
vote
3answers
375 views

What is the most efficient way to render LaTeX to a viewable format on a server?

I am working on an online web-app that incorporates LaTeX document generation. Currently, as a beginner to LaTeX (but the most experienced developer in my team), I am trying to determine the most ...
1
vote
0answers
76 views

How to increase TeX memory for LaTeX in TeX Live on Windows?

How to increase TeX memory for (pdf)LaTeX in TeX Live on windows (7)? I found a lot of usefull instructions to increase the TeX memory on linux systems or with MikTeX on Windows, but I still miss a ...
1
vote
1answer
784 views

LaTeX capacity exceeded [duplicate]

Possible Duplicate: How to expand TeX’s “main memory size”? (pgfplots memory overload) I'm trying to compile a huge LaTeX file with many graphs in it. Those graphs are external files, ...
1
vote
0answers
909 views

Memory limit reached - Precompile .tikz plots - How to output pdf with papersize near to image [closed]

Okay, well I have a problem my .tex file has reached the memory limit. Now I tried to change the memory limit /usr/share/texmf/web2c/texmf.cnf however that does not work. It keeps saying pdflatex> ...
-4
votes
1answer
171 views

! TeX capacity exceeded, sorry [input stack size=30000]

Below is part of my code. \documentclass[11pt,table,a5paper]{article} \usepackage{array,ragged2e} \usepackage{graphicx} \usepackage[framemethod=TikZ]{mdframed} \usepackage{lipsum} ...