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.










share|improve this question
























  • 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

















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.










share|improve this question
























  • 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















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.










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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




















  • 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

















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















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





































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














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




















































































Popular posts from this blog

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?