Build failed: RAM error when compiling rstan

We started to enforce a limit on how much RAM can be used during a build on mybinder.org. The limit is (I think) 3GB. I think this enforcement came in maybe a few weeks ago. Before that builds could use a lot more RAM but that was a configuration oversight.

This would explain why it used to work and now doesn’t. A way forward would be to investigate if there are ways to build rstan and use less RAM while doing so.