Error in knitting my work

I keep getting this error when I want to knit my work in R markdown. see below but I don't know where to reset it from 3000000
! TeX capacity exceeded, sorry [main memory size=3000000].
...p_box \vbox_unpack:N \l_shipout_box
\kern \c_zero_dim
l.33974 \end{verbatim}

! pdflatex: major issue: So far, no MiKTeX administrator has checked for updates.

Error: LaTeX failed to compile Cyclistic--Analysis.tex. See The R package tinytex - Helper Functions to Manage TinyTeX, and Compile LaTeX Documents - Yihui Xie | 谢益辉 for debugging tips. See Cyclistic--Analysis.log for more info.
Execution halted

It seems like a LaTeX specific issue dependant of your document content. You should have a look for this issue on TeX Q&A site.

For example: graphics - How to expand TeX's "main memory size"? (pgfplots memory overload) - TeX - LaTeX Stack Exchange

If you can share a reproducible example we can run, we can have a closer look then

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.