GeneralTex Capacity Exceeded, Sorry [save size=5000]

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
RMCabrera
Posts: 2
Joined: Sat Apr 28, 2012 11:51 am

Tex Capacity Exceeded, Sorry [save size=5000]

Post by RMCabrera »

Hi everyone!

My name is Ryan and I am having a serious trouble with my using of Latex. Although it has provided me with many advantages (e.g. nicely presented document, beautifully written equations, etc.) but it has troubled me with one thing:

!Tex capacity exceeded, sorry [save size = 5000]

I really don't know how to figure this out, because I'm really no-computer savvy as most other people who have been using Latex; in fact, I am only a beginner and I am just a "user" of this seemingly powerful tool.

Please, people, I am asking for your help, because I am really running out of time (I need to submit my Thesis the soonest possible time); I need to find a way to increase the save size, if it is possible. Please, heeeeeeeeeeeelp!

Best regards,

Ryan

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Tex Capacity Exceeded, Sorry [save size=5000]

Post by Stefan Kottwitz »

Hi Ryan,

welcome to the board!

Locate the file texmf.cnf on your computer, open it with an editor and look for "save_size" and change the value in that line.

For look-up, you could run at the command prompt:

Code: Select all

kpsewhich -a texmf.cnf
On my system, Linux with TeX Live 2011, it's /usr/local/texlive/2011/texmf/web2c/texmf.cnf.

I guess, you need to rebuilt the format files afterwards. On my system, I would run

Code: Select all

sudo fmtutil-sys --all
Stefan
LaTeX.org admin
RMCabrera
Posts: 2
Joined: Sat Apr 28, 2012 11:51 am

Re: Tex Capacity Exceeded, Sorry [save size=5000]

Post by RMCabrera »

Hi Stefan!

I understand your point, that I have to locate the file texmf.cnf in my PC; and then I have tried the code that you gave me:

kpsewhich -a texmf.cnf

and type it in the command prompt, but unfortunately, it didn't work! Why? :cry:

Like I've told you, I'm really no good at this?

You mentioned about opening it with an editor and to look for "save size" and change its value; but I just don't know how that works?

Please help me my friend?! :cry: and people from this community, pleassssszzzz :cry:

By the way, I am using Windows XP; I just thought it might matter!

Thanks anyways! :D

Best regards,

Ryan
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Tex Capacity Exceeded, Sorry [save size=5000]

Post by Stefan Kottwitz »

Hi Ryan,
RMCabrera wrote:I have tried the code that you gave me:

kpsewhich -a texmf.cnf

and type it in the command prompt, but unfortunately, it didn't work!
perhaps try the search feature of Windows to locate the file on your hard disk drive.

Stefan
LaTeX.org admin
shruthi
Posts: 2
Joined: Fri May 23, 2014 4:50 pm

Re: Tex Capacity Exceeded, Sorry [save size=5000]

Post by shruthi »

@stefan
could you please elaborate on format files.
i found textmf.config increased the stack value, But i don't know what to do next.
StarValkyrie
Posts: 89
Joined: Fri Jan 24, 2014 12:42 am

Re: Tex Capacity Exceeded, Sorry [save size=5000]

Post by StarValkyrie »

This error can also mean a missing close bracket or /end command for something, usually text-formatting related. Try opening a copy of your document in a program that color codes the TeX commands - like Texmaker, for example - and proofreading the TeX for whatever section you were editing before the error started.
Post Reply