{"action":"created","issue":{"url":"https://api.github.com/repos/docker/for-mac/issues/3377","repository_url":"https://api.github.com/repos/docker/for-mac","labels_url":"https://api.github.com/repos/docker/for-mac/issues/3377/labels{/name}","comments_url":"https://api.github.com/repos/docker/for-mac/issues/3377/comments","events_url":"https://api.github.com/repos/docker/for-mac/issues/3377/events","html_url":"https://github.com/docker/for-mac/issues/3377","id":385377238,"node_id":"MDU6SXNzdWUzODUzNzcyMzg=","number":3377,"title":"Docker on Mac Mojava is using 4GB even though it's configured for 2GB","user":{"login":"leandromoreira","id":55913,"node_id":"MDQ6VXNlcjU1OTEz","avatar_url":"https://avatars3.githubusercontent.com/u/55913?v=4","gravatar_id":"","url":"https://api.github.com/users/leandromoreira","html_url":"https://github.com/leandromoreira","followers_url":"https://api.github.com/users/leandromoreira/followers","following_url":"https://api.github.com/users/leandromoreira/following{/other_user}","gists_url":"https://api.github.com/users/leandromoreira/gists{/gist_id}","starred_url":"https://api.github.com/users/leandromoreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leandromoreira/subscriptions","organizations_url":"https://api.github.com/users/leandromoreira/orgs","repos_url":"https://api.github.com/users/leandromoreira/repos","events_url":"https://api.github.com/users/leandromoreira/events{/privacy}","received_events_url":"https://api.github.com/users/leandromoreira/received_events","type":"User","site_admin":false},"labels":[{"id":1133240486,"node_id":"MDU6TGFiZWwxMTMzMjQwNDg2","url":"https://api.github.com/repos/docker/for-mac/labels/version/2.0.0.0-mac78","name":"version/2.0.0.0-mac78","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-11-28T17:25:29Z","updated_at":"2018-11-30T18:09:54Z","closed_at":null,"author_association":"NONE","body":"  - [X] I have tried with the latest version of my channel (Stable or Edge)\r\n  - [x] I have uploaded Diagnostics\r\n  - Diagnostics ID: 12381BF6-921B-4FC8-8F3A-A688513B02B0/20181128162752\r\n\r\n### Expected behavior\r\nDocker daemon should be using 2GB\r\n### Actual behavior\r\nDocker daemon is using 4GB\r\n### Information\r\n  - macOS Version: 10.14 (18A391)\r\n  - Docker Version: 2.0.0.0-mac78 (28905)\r\n\r\nWhen you check the memory usage at the Mac **Activity Monitor** it shows 4GB instead of the configured 2GB.\r\n\r\n![screen shot 2018-11-28 at 3 01 18 pm](https://user-images.githubusercontent.com/55913/49168386-82926200-f31e-11e8-92ad-cbf0667b5a76.png)\r\n\r\nAt first I thought it could be a **Activity Monitor** GUI problem and then I try to see memory footpring via ps. \r\n\r\n```\r\n$ ps x -o rss,vsz,command | grep com.docker.hyperkit\r\n2188996  6734344 com.docker.hyperkit -A -u -F vms/0/hyperkit.pid -c 2 -m 2048M ...\r\n```\r\nThe output shows that the rss memory (`the real memory (resident set) size of the process (in 1024 byte units)`) seems to point to the 2GB.\r\n\r\nBut at the same time the `vmmap` also shows a physical footprint of 4GB.\r\n\r\n```\r\n$ vmmap 10409\r\nProcess:         com.docker.hyperkit [10409]\r\nPath:            /Applications/Docker.app/Contents/Resources/bin/com.docker.hyperkit\r\nLoad Address:    0x107278000\r\nIdentifier:      com.docker.hyperkit\r\nVersion:         ???\r\nCode Type:       X86-64\r\nParent Process:  com.docker.driver.amd64-linux [10403]\r\n\r\nDate/Time:       2018-11-28 09:59:43.425 -0200\r\nLaunch Time:     2018-11-28 09:55:21.895 -0200\r\nOS Version:      Mac OS X 10.14 (18A391)\r\nReport Version:  7\r\nAnalysis Tool:   /usr/bin/vmmap\r\n\r\nPhysical footprint:         4.1G\r\nPhysical footprint (peak):  4.1G\r\n----\r\n```\r\n\r\nI tried to restart the Docker, the OS and **I even tried to change from 2GB to 1GB but it still doubles the configured RAM**.  Is anybody facing this same issue?"},"comment":{"url":"https://api.github.com/repos/docker/for-mac/issues/comments/443289979","html_url":"https://github.com/docker/for-mac/issues/3377#issuecomment-443289979","issue_url":"https://api.github.com/repos/docker/for-mac/issues/3377","id":443289979,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzI4OTk3OQ==","user":{"login":"theecodedragon","id":9611106,"node_id":"MDQ6VXNlcjk2MTExMDY=","avatar_url":"https://avatars0.githubusercontent.com/u/9611106?v=4","gravatar_id":"","url":"https://api.github.com/users/theecodedragon","html_url":"https://github.com/theecodedragon","followers_url":"https://api.github.com/users/theecodedragon/followers","following_url":"https://api.github.com/users/theecodedragon/following{/other_user}","gists_url":"https://api.github.com/users/theecodedragon/gists{/gist_id}","starred_url":"https://api.github.com/users/theecodedragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theecodedragon/subscriptions","organizations_url":"https://api.github.com/users/theecodedragon/orgs","repos_url":"https://api.github.com/users/theecodedragon/repos","events_url":"https://api.github.com/users/theecodedragon/events{/privacy}","received_events_url":"https://api.github.com/users/theecodedragon/received_events","type":"User","site_admin":false},"created_at":"2018-11-30T18:09:54Z","updated_at":"2018-11-30T18:09:54Z","author_association":"NONE","body":"Sorry for posting in bits and pieces, I forgot to mention, I have memory configured for 2 GB as well."}}
{"actor":{"display_login":"theecodedragon"}}