MathJax:Tex-MaxBufferSize/qqq

The buffer size refers to the memory used by the TeX input processor.

This error may happen with recursive calls e.g..

Note that the number of a's is exponential with respect to the number of recursive calls.

Hence 'MaxBufferSize' is likely to happen before 'MaxMacroSub1'