{"action":"created","issue":{"url":"https://api.github.com/repos/SeattleTestbed/resource/issues/4","labels_url":"https://api.github.com/repos/SeattleTestbed/resource/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/SeattleTestbed/resource/issues/4/comments","events_url":"https://api.github.com/repos/SeattleTestbed/resource/issues/4/events","html_url":"https://github.com/SeattleTestbed/resource/issues/4","id":82345278,"number":4,"title":"Mac_BSD_resources underestimates RAM size","user":{"login":"aaaaalbert","id":3806695,"avatar_url":"https://avatars.githubusercontent.com/u/3806695?v=3","gravatar_id":"","url":"https://api.github.com/users/aaaaalbert","html_url":"https://github.com/aaaaalbert","followers_url":"https://api.github.com/users/aaaaalbert/followers","following_url":"https://api.github.com/users/aaaaalbert/following{/other_user}","gists_url":"https://api.github.com/users/aaaaalbert/gists{/gist_id}","starred_url":"https://api.github.com/users/aaaaalbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaaaalbert/subscriptions","organizations_url":"https://api.github.com/users/aaaaalbert/orgs","repos_url":"https://api.github.com/users/aaaaalbert/repos","events_url":"https://api.github.com/users/aaaaalbert/events{/privacy}","received_events_url":"https://api.github.com/users/aaaaalbert/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SeattleTestbed/resource/labels/newcomer","name":"newcomer","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-29T09:14:56Z","updated_at":"2015-09-14T15:43:41Z","closed_at":null,"body":"[`Mac_BSD_resources.py`](https://github.com/SeattleTestbed/resource/blob/master/Mac_BSD_resources.py#L55) uses `sysctl hw.physmem` to find the size of RAM. Unfortunately, the info is off by a factor of 4 on a MacBook Pro 8,2 running Mac OS X 10.6.8 on which I'm testing this. (At least we are *underestimating* the size, so this only hurts the Seattle install, but not the resource donor.)\r\n\r\n`sysctl hw.memsize` gives the correct memory size, 8 GB here.\r\n\r\nSee also https://discussions.apple.com/thread/1753088?start=0&tstart=0\r\n\r\nWe should test what the different `hw.` keys return on a couple of machines, and then decide on a fix."},"comment":{"url":"https://api.github.com/repos/SeattleTestbed/resource/issues/comments/140120263","html_url":"https://github.com/SeattleTestbed/resource/issues/4#issuecomment-140120263","issue_url":"https://api.github.com/repos/SeattleTestbed/resource/issues/4","id":140120263,"user":{"login":"aaaaalbert","id":3806695,"avatar_url":"https://avatars.githubusercontent.com/u/3806695?v=3","gravatar_id":"","url":"https://api.github.com/users/aaaaalbert","html_url":"https://github.com/aaaaalbert","followers_url":"https://api.github.com/users/aaaaalbert/followers","following_url":"https://api.github.com/users/aaaaalbert/following{/other_user}","gists_url":"https://api.github.com/users/aaaaalbert/gists{/gist_id}","starred_url":"https://api.github.com/users/aaaaalbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaaaalbert/subscriptions","organizations_url":"https://api.github.com/users/aaaaalbert/orgs","repos_url":"https://api.github.com/users/aaaaalbert/repos","events_url":"https://api.github.com/users/aaaaalbert/events{/privacy}","received_events_url":"https://api.github.com/users/aaaaalbert/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T15:43:41Z","updated_at":"2015-09-14T15:43:41Z","body":"Per PR #7, my fix is to use a default of `512`.\r\n\r\nThank you all for testing and contibuting!"}}