Skip to content

Memory Leakage com.docker.hyperkit #3232

Description

@Sebastianbrg

NOTES TO FUTURE READERS OF THIS THREAD.
PLEASE READ THE WHOLE THREAD BEFORE REPLYING. IN PARTICULAR, PLEASE UNDERSTAND:

  1. There is a bug in MacOS that it reports twice the amount of memory actually allocated.
  2. It is normal that all the memory has to be reserved up front before any containers are running, because of the way that virtualisation works in MacOS Hypervisor.framework.

See https://docs.google.com/document/d/17ZiQC1Tp9iH320K-uqVLyiJmk4DHJ3c4zgQetJiKYQM/edit?usp=sharing for a detailed investigation on this.

-- Stephen Turner


  • [ x ] I have tried with the latest version of my channel (Stable or Edge)
  • [ x ] I have uploaded Diagnostics
  • Diagnostics ID:
    C19AE3AD-3E52-4F8C-A16A-D06D797B36A4/20180925100823

Expected behavior

No memory leakage.

Actual behavior

Memory leakage.

Information

  • Is it reproducible? Yes. Just start Docker on Mac OS Mojave
  • Is the problem new? Yes, when I upgraded to Mac OS Mojave
  • Did the problem appear with an update?
  • A reproducible case if this is a bug, Dockerfiles FTW.
  • macOS Version: 10.14 (18A391)

Diagnostic logs

Docker for Mac: Version 18.06.1-ce-mac73 (26764)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions