Thanks. If you are referring to how we handle large OCI images for our OCI-compatible container registry, we create a temporary volume and stream/cache the layers there before streaming them to S3-compatible storage. This mitigates the need to keep large layers in memory, which previously led to memory resource exhaustion.
If want to dig even deeper, this specific implementation was done in this pr: https://github.com/distr-sh/distr/pull/1478