MiKTeX and proTeXt ⇒ TeX capacity exceeded, sorry [save_size = 50000]
-
- Posts: 8
- Joined: Sat Oct 04, 2014 6:11 pm
Re: TeX capacity exceeded, sorry [save_size = 50000]
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Re: TeX capacity exceeded, sorry [save_size = 50000]
also from my side, welcome to the forum!
I read the post and followed the topic. Also I use LuaTeX in case of memory problems, which usually works well.
I can understand Johannes, that he gave up after some time, seeing that TeX is perhaps not the perfect tool for this case. But it's nice that he dealt with it already and made suggestions.
The issue sounds interesting, just seems to be quite difficult.
It's hard to speak about the problem, if we don't have code to run it. Perhaps post a minimal working example, which shows that problem.
Stefan
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: TeX capacity exceeded, sorry [save_size = 50000]
But with your last post you changed the whole tone of the task by telling:
I want to do that, did it already using this and that but i am interested to find a solution based solely on TeX.
That is a completely different thing.
But, i am sorry to say, that i am not that experienced with the TeX-internals and might not be able to help.
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
TeX capacity exceeded, sorry [save_size = 50000]
Stefan
-
- Posts: 8
- Joined: Sat Oct 04, 2014 6:11 pm
Re: TeX capacity exceeded, sorry [save_size = 50000]
My problems, the reason I came to this site, were with capacity errors. I resolved the save_size error by replacing a pair of \xdef by \edef, exactly as prescribed in the TeXbook. I then ran into a problem with memory and that's where LuaTeX helped. My capacity problems are resolved. I did not provide the code for the recursion for two reasons. First, I knew the coding was sound, it was already tested and ran just fine. Second, I could not possibly supply all the utility macros needed to support that code.
I was and am very careful with my words and I provided all the information that was necessary to make a clear statement of the problem. I stated clearly and concisely the goals of my code. I am not going to waste any more time trying to enlighten Johannes and his friends, they already know better.
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
TeX capacity exceeded, sorry [save_size = 50000]
-
save_size
error fixed by replacing\xdef
by\edef
- general memory problems resolved using LuaTeX

Best regards,
Stefan