I am writing a thesis, it is very long now over 300 pages. I am using glossary package a lot, and I am using two computers. When I compile my .tex file over my laptop I get the following error:
! TeX capacity exceeded, sorry [main memory size=5000000]. \l__morewrites_internal_tl ...lsnumberformat}{257}
while when I compile it over my PC, It compiles without any issue. In both systems I am using TexLive and I also used morewrites package to deal with similar error I had before. Does anyone know why? Please help me.
\end{document}at mid document and compile, so that only half of the document is processed. If it's successful, move\end{document}forward, otherwise backwards: you can so possibly isolate the problem. – egreg Apr 05 '14 at 20:15