# [OS X TeX] TeX capacity exceeded

Michael Sharpe msharpe at ucsd.edu
Mon Dec 15 17:46:07 CET 2014

> On Dec 15, 2014, at 4:54 AM, Leslie Morland (MTH) <L.Morland at uea.ac.uk> wrote:
>
> Help, never seen this message before, with [grouping levels=255].
>
> Only a short mathematical paper, first stopped at line 407, then at same line 365 after removing an earlier section. Cannot see what to do in Preferences.
>

That's the error you'd get if you made a \def or \[re]newcommand where the replacement text involved the term being defined (perhaps after a sequence of other substitutions) so that the substitution process would recurse endlessly until stopped by TeX. The error would occur where the control sequence was used, not where it was defined.

Michael