# Increase save_size on texlive on windows

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}
\begin{document}
\STautoround{3}
& 7 & 5 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1
\\
\STcopy{>,v}{1 - 2 * exp(2*ln(!b!1)-2*ln(!c!1))}
& & & & & & & & & &
\\
& & & & & & & & & &
\\
& & & & & & & & & &
\\
& & & & & & & & & &
\\
& & & & & & & & & &
\\
& & & & & & & & & &
\\
& & & & & & & & & &
\\
& & & & & & & & & &
\\
& & & & & & & & & &
\\
& & & & & & & & & &
\\
& & & & & & & & & &
\\
& & & & & & & & & &
\\
& & & & & & & & & &
\\
& & & & & & & & & &
\\
& & & & & & & & & &
\\
& & & & & & & & & &

• as guessed above the code (fp package) is doing \global\let\FP@tmp=\FP@tmp% which means that its save stack usage will basically grow very rapidly and fill your stack whatever size it is. – David Carlisle Nov 12 '18 at 22:49