Fatal error: exception Stack_overflow from ocamlrun only under production-size inputs
Symptom An OCaml program compiled to bytecode with ocamlc and run under ocamlrun terminates with Fatal error: exception Stack_overflow when processing production-scale data. The same binary handles the smaller inputs used in local testing without any failure. Context The failing code path is a recursive function over a large list (on the order of hundreds of