Hi all, I am encountering this error message again.
Error: comment.sty:19523: TeX capacity exceeded, sorry [main memory size=5000000].
The problem is that the program was working just fine (using Markdown, knitr, and LaTeX). I literally made no changes in the document and this is now the message I am getting.
Any thoughts would be appreciated.