I've just gotten an error with my latex file. I get
Code: Select all
! TeX capacity exceeded, sorry [main memory size=3000000].
\mathsm@sh #1#2->\setbox \z@ \hbox {$\m@th #1{#2}$
}\finsm@sh
l.27933 ...rightarrow{a}=\lambda\overrightarrow{b}
$.
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.
I guess I could start by removing stuff until I find a command that when not there, does not result in an error.
But since the file is 1300kb source code I fear too much manual labour on this.
Now I'll just speculate:
I guess that latex uses some of the main memory through its work, but allocated memory is freed when done with some parts, and it can continue on, but if something causes it to loop that eats all the memory or a not closed environment or something other problematic, would that not be easy to find, in some sense since all the memory would soon be used and you could back track where it started to just allocate and not release?

I'm very grateful for any help on this.
