I’m trying to fit a nonlinear model on not particularly many observations, and it occasionally crashes my computer forcing me to reset. Running on 1 core seems to always work, 2 cores sometimes crashes, and 3 cores crashes fairly regularly: it’s stochastic, which is most annoying of all. I would have expected I was overwhelming RAM, but I’m running a pretty powerful machine: 16 virtual cores and 64GB RAM, so I don’t think it’s that. Any help would be very much appreciated. I’m fairly new to working more on Linux, so I might be doing something stupid somewhere.
I’m running Pop!_OS 20.04 LTS, and using brms_2.13.9 through RStudio, though I encounter the issue using either rstan_2.19.2 or cmdstanr_0.1.3 (cmdstan-2.24.1) backends. The model I’m fitting isn’t really that large: it’s a nonlinear model fitting 1000 observations from 50 groups, with 5 parameters per group, and their associated SD etc --> comes to 822 parameters total.
I opened htop to watch RAM usage while fitting yesterday, and had the computer crash while it was open. Had to screenshot with my phone as the computer had hung.
… so, not even 5% memory usage, and only 3 cores active.
I’m a bit stumped. If anyone has any suggestions, I’d be thrilled.
Thanks so much in advance!