Increase save_size on texlive on windows
up vote
1
down vote
favorite
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 texmf.cnf
and got:
c:/texlive/2018/texmf.cnf
c:/texlive/2018/texmf-dist/web2c/texmf.cnf
I opened the first file and added the line:
save_size = 200000
and then re-compiled the file, but still got the same error message.
What should I do to increase the save size?
EDIT: here is a minimal working example:
documentclass{standalone}
usepackage{spreadtab}
begin{document}
STautoround{3}
begin{spreadtab}{{tabular}{l|llllllllll}}
& 7 & 5 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1
\
STcopy{>,v}{1 - 2 * exp(2*ln(!b!1)-2*ln(!c!1))}
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
end{spreadtab}
end{document}
When I remove one or two rows, it compiles fine (and fills all cells with -2.92).
But when I add the rows back, I get the error.
texlive windows memory
|
show 1 more comment
up vote
1
down vote
favorite
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 texmf.cnf
and got:
c:/texlive/2018/texmf.cnf
c:/texlive/2018/texmf-dist/web2c/texmf.cnf
I opened the first file and added the line:
save_size = 200000
and then re-compiled the file, but still got the same error message.
What should I do to increase the save size?
EDIT: here is a minimal working example:
documentclass{standalone}
usepackage{spreadtab}
begin{document}
STautoround{3}
begin{spreadtab}{{tabular}{l|llllllllll}}
& 7 & 5 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1
\
STcopy{>,v}{1 - 2 * exp(2*ln(!b!1)-2*ln(!c!1))}
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
end{spreadtab}
end{document}
When I remove one or two rows, it compiles fine (and fills all cells with -2.92).
But when I add the rows back, I get the error.
texlive windows memory
Are you sure that the capacity is really the problem and that this is not just a symptom of some problem in the code? (just asking because very often this error is caused by an infinite loop or similar)
– samcarter
15 hours ago
1
I would say 99% of documents that use more than 1000 save stack slots have a coding error that means that the save stack usage grows unnecessarily (usually local and global assignments to the same csname)
– David Carlisle
14 hours ago
@samcarter not 100% sure, but when I compile the spreadtab table with 5 rows it works fine, and when I add a 6th row it breaks.
– Erel Segal-Halevi
14 hours ago
what happens with luatex?
– David Carlisle
14 hours ago
1
@ErelSegal-Halevi Can you add a minimal working example (MWE) that reproduces the problem?
– samcarter
14 hours ago
|
show 1 more comment
up vote
1
down vote
favorite
up vote
1
down vote
favorite
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 texmf.cnf
and got:
c:/texlive/2018/texmf.cnf
c:/texlive/2018/texmf-dist/web2c/texmf.cnf
I opened the first file and added the line:
save_size = 200000
and then re-compiled the file, but still got the same error message.
What should I do to increase the save size?
EDIT: here is a minimal working example:
documentclass{standalone}
usepackage{spreadtab}
begin{document}
STautoround{3}
begin{spreadtab}{{tabular}{l|llllllllll}}
& 7 & 5 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1
\
STcopy{>,v}{1 - 2 * exp(2*ln(!b!1)-2*ln(!c!1))}
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
end{spreadtab}
end{document}
When I remove one or two rows, it compiles fine (and fills all cells with -2.92).
But when I add the rows back, I get the error.
texlive windows memory
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 texmf.cnf
and got:
c:/texlive/2018/texmf.cnf
c:/texlive/2018/texmf-dist/web2c/texmf.cnf
I opened the first file and added the line:
save_size = 200000
and then re-compiled the file, but still got the same error message.
What should I do to increase the save size?
EDIT: here is a minimal working example:
documentclass{standalone}
usepackage{spreadtab}
begin{document}
STautoround{3}
begin{spreadtab}{{tabular}{l|llllllllll}}
& 7 & 5 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1
\
STcopy{>,v}{1 - 2 * exp(2*ln(!b!1)-2*ln(!c!1))}
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
\
& & & & & & & & & &
end{spreadtab}
end{document}
When I remove one or two rows, it compiles fine (and fills all cells with -2.92).
But when I add the rows back, I get the error.
texlive windows memory
texlive windows memory
edited 10 hours ago
asked 15 hours ago
Erel Segal-Halevi
2,35762242
2,35762242
Are you sure that the capacity is really the problem and that this is not just a symptom of some problem in the code? (just asking because very often this error is caused by an infinite loop or similar)
– samcarter
15 hours ago
1
I would say 99% of documents that use more than 1000 save stack slots have a coding error that means that the save stack usage grows unnecessarily (usually local and global assignments to the same csname)
– David Carlisle
14 hours ago
@samcarter not 100% sure, but when I compile the spreadtab table with 5 rows it works fine, and when I add a 6th row it breaks.
– Erel Segal-Halevi
14 hours ago
what happens with luatex?
– David Carlisle
14 hours ago
1
@ErelSegal-Halevi Can you add a minimal working example (MWE) that reproduces the problem?
– samcarter
14 hours ago
|
show 1 more comment
Are you sure that the capacity is really the problem and that this is not just a symptom of some problem in the code? (just asking because very often this error is caused by an infinite loop or similar)
– samcarter
15 hours ago
1
I would say 99% of documents that use more than 1000 save stack slots have a coding error that means that the save stack usage grows unnecessarily (usually local and global assignments to the same csname)
– David Carlisle
14 hours ago
@samcarter not 100% sure, but when I compile the spreadtab table with 5 rows it works fine, and when I add a 6th row it breaks.
– Erel Segal-Halevi
14 hours ago
what happens with luatex?
– David Carlisle
14 hours ago
1
@ErelSegal-Halevi Can you add a minimal working example (MWE) that reproduces the problem?
– samcarter
14 hours ago
Are you sure that the capacity is really the problem and that this is not just a symptom of some problem in the code? (just asking because very often this error is caused by an infinite loop or similar)
– samcarter
15 hours ago
Are you sure that the capacity is really the problem and that this is not just a symptom of some problem in the code? (just asking because very often this error is caused by an infinite loop or similar)
– samcarter
15 hours ago
1
1
I would say 99% of documents that use more than 1000 save stack slots have a coding error that means that the save stack usage grows unnecessarily (usually local and global assignments to the same csname)
– David Carlisle
14 hours ago
I would say 99% of documents that use more than 1000 save stack slots have a coding error that means that the save stack usage grows unnecessarily (usually local and global assignments to the same csname)
– David Carlisle
14 hours ago
@samcarter not 100% sure, but when I compile the spreadtab table with 5 rows it works fine, and when I add a 6th row it breaks.
– Erel Segal-Halevi
14 hours ago
@samcarter not 100% sure, but when I compile the spreadtab table with 5 rows it works fine, and when I add a 6th row it breaks.
– Erel Segal-Halevi
14 hours ago
what happens with luatex?
– David Carlisle
14 hours ago
what happens with luatex?
– David Carlisle
14 hours ago
1
1
@ErelSegal-Halevi Can you add a minimal working example (MWE) that reproduces the problem?
– samcarter
14 hours ago
@ErelSegal-Halevi Can you add a minimal working example (MWE) that reproduces the problem?
– samcarter
14 hours ago
|
show 1 more comment
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f459626%2fincrease-save-size-on-texlive-on-windows%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Are you sure that the capacity is really the problem and that this is not just a symptom of some problem in the code? (just asking because very often this error is caused by an infinite loop or similar)
– samcarter
15 hours ago
1
I would say 99% of documents that use more than 1000 save stack slots have a coding error that means that the save stack usage grows unnecessarily (usually local and global assignments to the same csname)
– David Carlisle
14 hours ago
@samcarter not 100% sure, but when I compile the spreadtab table with 5 rows it works fine, and when I add a 6th row it breaks.
– Erel Segal-Halevi
14 hours ago
what happens with luatex?
– David Carlisle
14 hours ago
1
@ErelSegal-Halevi Can you add a minimal working example (MWE) that reproduces the problem?
– samcarter
14 hours ago