I'm getting the following error when trying to compile my a document (lots of very long tables):
./Chap-Syb.tex:977: TeX capacity exceeded, sorry [main memory
size=5000000].
I've tried to supply -extra-mem-bot= 50000000 to the LaTeX process Preferences > Engine but this didn't seem to have the desired effect.
TeXShopthis https://tex.stackexchange.com/questions/438902/how-to-increase-memory-size-for-xelatex-in-miktex will helps you – MadyYuvi Jan 05 '24 at 10:11xelatextopdflatexand then try – MadyYuvi Jan 05 '24 at 10:15OP? – MadyYuvi Jan 05 '24 at 11:12longtablethen the memory doesn't really increase as the table gets longer (as long as it has enough to hold one page) check you are not looping and that you really need more memory. You have not said what tex system (miktex or texlive) or what engine (pdflatex, xelatex, or lualatex) you are using. You could try using lualatex which does dynamic memory allocation in most cases. – David Carlisle Jan 05 '24 at 11:44-cnf-line=STRING parse STRING as a configuration file linein texlive at least (not sure about miktex) – David Carlisle Jan 05 '24 at 11:45