Error in unserialize(socklist[[n]]), running sampling on rstudio server on AWS

I also ran into this error. In my case it was due to running out of memory. I was using the transformed parameters block and that really increased memory usage. Bob had suggested doing the transformation in the model block and that pratically helped me solve the problem without having to upsize the instance.

1 Like