This document describes how Canvas behaves when the host or container is under memory pressure, what mechanisms exist to bound memory usage, and the configuration recommended for a production deployment.
Canvas does not gracefully recover from out-of-memory conditions. It does
not rescue NoMemoryError anywhere in the Ruby code. Instead, the application