Excessive memory usage in PyMC3? (Solved - AWS Linux platform issue. Works on AWS Windows)

This could be due to the pre-initialization of the trace, as the model is fairly high-dimensional. Can you try with the HDF5 backend?