cmdstan icon indicating copy to clipboard operation
cmdstan copied to clipboard

catch bac_alloc for out-of-memory in commands and print diagnostics

Open syclik opened this issue 9 years ago • 0 comments

From @bob-carpenter on March 14, 2014 15:44

It'd be nice if instead of crashing with an exception dump facing the user if bin/print and the actual commands to run the model would catch bad allocs and report that there's an out-of-memory error.

Whether this feature request should be moved to CmdStan is going to depend on where the catch is done.

Copied from original issue: stan-dev/stan#604

syclik avatar Nov 30 '16 15:11 syclik