That error shows up with compiler configuration problems: Error: cannot allocate vector of size 17348.7 Gb - #22 by Elchorro
That’s a really long thread, but it’s a variety of getting the compiler paths right, rebuilding packages for an upgraded R, and recompiling old models (where the compiled model was cached somewhere).
-
Are these models that you’ve just run in your Rsession? Or have these been loaded from disk or something?
-
Maybe just try reinstalling loo/brms?
-
Have you upgraded your rstan/brms/R recently that might have caused this?