GeneralTeX capcity exceeded

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
vertkvr
Posts: 1
Joined: Tue May 20, 2008 3:35 am

TeX capcity exceeded

Post by vertkvr »

Being new to LaTex, I am have yet to find a solution to my problem. I keep getting the error "TeX capcity exceeded, sorry [save = 5000]. i have found information to other erros with capacity exceeded but have yet to find a solution to this. any assistance is much appreciated. best wishes nico

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

balf
Posts: 158
Joined: Sat Jan 12, 2008 1:11 am

Re: TeX capcity exceeded

Post by balf »

Probably there is an infinite loop at compiling time. One cause is often a missing { or } in the argument of a command. I would suggest to comment the body of your whole document, then progressively uncomment it until you localise the place at which there is a problem. If your editor doesn't let you comment with a single mouse click, you can use the comment environment, from the comment package.

B.A.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
Joined: Mon Mar 10, 2008 9:44 pm

Re: TeX capcity exceeded

Post by Stefan Kottwitz »

Hi vertkvr,

welcome to the LaTeX Community board!

That error can be caused if commands, environments or groups are nested too deeply. The save size could be increased, but probably there's a mistake inside the code. Proceed like balf said, try to localize the problematic code. You can show us that code, we would help you in finding the error. But we need to see the code to be able to provide specific help.

Stefan
LaTeX.org admin
Post Reply