Defined in github.com/aws/aws-sdk-go/service/ecs/api.go
The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to Memory in the Create a container (https://docs.docker.com/reference/api/docker_remote_api_v1.23/#create-a-container) section of the Docker Remote API (https://docs.docker.com/reference/api/docker_remote_api_v1.23/) and the --memory option to docker run (https://docs.docker.com/reference/commandline/run/).
You must specify a non-zero integer for one or both of memory or memoryReservation in container definitions. If you specify both, memory must be greater than memoryReservation. If you specify memoryReservation, then that value is subtracted from the available memory resources for the container instance on which the container is placed; otherwise, the value of memory is used.
The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should not specify fewer than 4 MiB of memory for your containers.
Memory is referenced in 3 repositoriesgithub.com/Clever/mesos-visualizer
- 1 reference in ecs/ecs.go
- 1 reference in ecs_state.go
- 1 reference in deployment/strategy/ecs.go