{"action":"created","issue":{"url":"https://api.github.com/repos/rfjakob/earlyoom/issues/20","repository_url":"https://api.github.com/repos/rfjakob/earlyoom","labels_url":"https://api.github.com/repos/rfjakob/earlyoom/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/rfjakob/earlyoom/issues/20/comments","events_url":"https://api.github.com/repos/rfjakob/earlyoom/issues/20/events","html_url":"https://github.com/rfjakob/earlyoom/issues/20","id":163722383,"number":20,"title":"Misestimated free RAM","user":{"login":"kernc","id":684364,"avatar_url":"https://avatars.githubusercontent.com/u/684364?v=3","gravatar_id":"","url":"https://api.github.com/users/kernc","html_url":"https://github.com/kernc","followers_url":"https://api.github.com/users/kernc/followers","following_url":"https://api.github.com/users/kernc/following{/other_user}","gists_url":"https://api.github.com/users/kernc/gists{/gist_id}","starred_url":"https://api.github.com/users/kernc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kernc/subscriptions","organizations_url":"https://api.github.com/users/kernc/orgs","repos_url":"https://api.github.com/users/kernc/repos","events_url":"https://api.github.com/users/kernc/events{/privacy}","received_events_url":"https://api.github.com/users/kernc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-04T18:00:34Z","updated_at":"2016-07-05T07:31:32Z","closed_at":null,"body":"Earlyoom killed my app because I don't have enough free RAM:\r\n```text\r\n$ sudo journalctl -b | tail\r\n...\r\nJul 04 19:52:50 xylix earlyoom[699]: Out of memory! avail: 3157 MiB < min: 3160 MiB\r\nJul 04 19:52:50 xylix earlyoom[699]: Killing process 20118 (VirtualBox)\r\n...\r\n```\r\n\r\nBut I have more than enough (~19 GB) in disposable buffers/cache.\r\n```text\r\n$ free -h\r\n             total       used       free     shared    buffers     cached\r\nMem:           30G        27G       3.6G        13G       228M        15G\r\n-/+ buffers/cache:        11G        19G\r\nSwap:           0B         0B         0B\r\n```"},"comment":{"url":"https://api.github.com/repos/rfjakob/earlyoom/issues/comments/230406386","html_url":"https://github.com/rfjakob/earlyoom/issues/20#issuecomment-230406386","issue_url":"https://api.github.com/repos/rfjakob/earlyoom/issues/20","id":230406386,"user":{"login":"rfjakob","id":286847,"avatar_url":"https://avatars.githubusercontent.com/u/286847?v=3","gravatar_id":"","url":"https://api.github.com/users/rfjakob","html_url":"https://github.com/rfjakob","followers_url":"https://api.github.com/users/rfjakob/followers","following_url":"https://api.github.com/users/rfjakob/following{/other_user}","gists_url":"https://api.github.com/users/rfjakob/gists{/gist_id}","starred_url":"https://api.github.com/users/rfjakob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfjakob/subscriptions","organizations_url":"https://api.github.com/users/rfjakob/orgs","repos_url":"https://api.github.com/users/rfjakob/repos","events_url":"https://api.github.com/users/rfjakob/events{/privacy}","received_events_url":"https://api.github.com/users/rfjakob/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T07:31:32Z","updated_at":"2016-07-05T07:31:32Z","body":"Ok I think I can calculate it from the \"free\" ouput as well:\n\n15GB are \"cached\". But 13GB are \"shared\", an this usually means files in\ntmpfs. These 13GB must be deducted from the \" cached\" number because the\nmemory is not actually idisposable.\n\nFrom the 19GB \"free\", this takes us to 6GB available. Earlyoom stated you\nhave 3GB available, the difference is probably from the virtualbox vm that\nwas killed?\n"}}
{"actor":{"display_login":"rfjakob"}}