Just documenting this here so I don't forget it.
Similar to amrex.abort_on_out_of_gpu_memory an amrex.warn_on_out_of_gpu_memory that writes arena out-of-memory events to stdout or stderr would be useful.
https://amrex-codes.github.io/amrex/docs_html/GPU.html#inputs-parameters