Hi all,

I was trying to use State to run a CMP model with random coefficient. And I got the error below:

Fitting constant-only model for LR test of overall model fit.
J(): 3900 unable to allocate real <tmp>[57194029448,10]
cmp_model::cmp_init(): - function returned error
<istmt>: - function returned error
Mata run-time error

I used slurm with 500gb memory but still failed. I think this is a memory issue and I wonder if anyone knows what I can do to this to get the model running.

Thanks a lot and look forward to your reply.