Skip to content

A JVM in Docker with memory limits can get OOM killed #28

@dvenza

Description

@dvenza

When a container is limited in memory, the processes inside the container still see the full amount of memory available in the system when they use the OS system calls. Java relies on the OS information and will try to use more memory than the limit imposed in the container.

This will happen always, sooner or later, regardless of how high you set the limit, or the the use of the various -X options to the java executable. More information is available here:

This is not a Zoe issue, but with Docker and the Linux container system. It affects Zoe applications, so we will keep track of workarounds and solutions here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions