FerryDocs

The memory limit

A memory limit is the most memory that one container can use.

Edit on GitHub
Memory limit: 512 MiBstopsKernelmeasures memoryContainer120 of 512 MiBDocker

The limit is a box around the container. The app uses a small part of it.

1 / 4

A is a box around a . The container cannot grow out of it. The default limit is 512 .

When the app needs more, the stops its process. This is an . The container gets no above the limit.

Docker starts an instance or a datastore again. A job run fails.

Write a size

You writeFerry reads
512512 MiB. A number with no unit is MiB.
512M512 MiB
1G1 GiB
1.5G1.5 GiB
2GiB2 GiB

M, MB and MiB all mean MiB. G, GB and GiB all mean GiB. Docker reads sizes the same way.

A limit can be from 16 MiB to 1 TiB.

Set the limit

Terminal
ferry update api --memory 2G
ferry restart api

See Set the limits of a service and Out-of-memory kills.

On this page