@jjttjj nREPL 0.6 introduced the option of truncating results/output to some size https://metaredux.com/posts/2019/03/29/nrepl-0-6.html
(in CIDER it’s 1MB by default)
On top of this, the current CIDER master
branch has some auto-trimming functionality for the REPL buffer https://docs.cider.mx/cider/repl/configuration.html#auto-trimming-the-repl-buffer
Awesome, will check it out thanks!