{"action":"created","issue":{"url":"https://api.github.com/repos/SimonBiggs/npgamma/issues/6","repository_url":"https://api.github.com/repos/SimonBiggs/npgamma","labels_url":"https://api.github.com/repos/SimonBiggs/npgamma/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/SimonBiggs/npgamma/issues/6/comments","events_url":"https://api.github.com/repos/SimonBiggs/npgamma/issues/6/events","html_url":"https://github.com/SimonBiggs/npgamma/issues/6","id":190664451,"number":6,"title":"Memory error","user":{"login":"robmarkcole","id":11855322,"avatar_url":"https://avatars.githubusercontent.com/u/11855322?v=3","gravatar_id":"","url":"https://api.github.com/users/robmarkcole","html_url":"https://github.com/robmarkcole","followers_url":"https://api.github.com/users/robmarkcole/followers","following_url":"https://api.github.com/users/robmarkcole/following{/other_user}","gists_url":"https://api.github.com/users/robmarkcole/gists{/gist_id}","starred_url":"https://api.github.com/users/robmarkcole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robmarkcole/subscriptions","organizations_url":"https://api.github.com/users/robmarkcole/orgs","repos_url":"https://api.github.com/users/robmarkcole/repos","events_url":"https://api.github.com/users/robmarkcole/events{/privacy}","received_events_url":"https://api.github.com/users/robmarkcole/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-11-21T09:43:27Z","updated_at":"2016-11-23T07:18:57Z","closed_at":null,"body":"Hi Simon, I get a memory error in Method explanation 3D at Ln [10] but am able to continue.\r\n\r\nhttps://github.com/robmarkcole/Useful-python-for-medical-physics/blob/master/Experiments%20in%20ipython%20notebooks/npgamma/test/Method%20explanation%203D%20_%20RC.ipynb\r\n\r\nI get the same error in Module usage 3D at ln[9] but am unable to continue. Please advise :)\r\n\r\nhttps://github.com/robmarkcole/Useful-python-for-medical-physics/blob/master/Experiments%20in%20ipython%20notebooks/npgamma/test/Module%20usage%203D%20_%20RC.ipynb"},"comment":{"url":"https://api.github.com/repos/SimonBiggs/npgamma/issues/comments/262447485","html_url":"https://github.com/SimonBiggs/npgamma/issues/6#issuecomment-262447485","issue_url":"https://api.github.com/repos/SimonBiggs/npgamma/issues/6","id":262447485,"user":{"login":"SimonBiggs","id":6559099,"avatar_url":"https://avatars.githubusercontent.com/u/6559099?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonBiggs","html_url":"https://github.com/SimonBiggs","followers_url":"https://api.github.com/users/SimonBiggs/followers","following_url":"https://api.github.com/users/SimonBiggs/following{/other_user}","gists_url":"https://api.github.com/users/SimonBiggs/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonBiggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonBiggs/subscriptions","organizations_url":"https://api.github.com/users/SimonBiggs/orgs","repos_url":"https://api.github.com/users/SimonBiggs/repos","events_url":"https://api.github.com/users/SimonBiggs/events{/privacy}","received_events_url":"https://api.github.com/users/SimonBiggs/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T07:18:57Z","updated_at":"2016-11-23T07:18:57Z","body":"From the little I understand \"Available\" is not always a good proxy for how\nmuch to use. If a program asks for a large amount of RAM the OS will often\nreassign RAM appropriately anyway. I think that's why the Total - 2GB might\nbe the best way to go.\n\nAlso, I need to somehow check for 32bit or 64 bit using:\nis_64bits = sys.maxsize > 2**32\n\nIf it is 32bit any one program can only every use a maximum of 2GB of RAM.\nSo no matter how much is available I would have to have 2GB as the max.\n\nOn Wed, 23 Nov 2016, 6:06 PM Robin <notifications@github.com> wrote:\n\n> Yes sounds like a good approach.\n> Running on my mac\n>\n> import psutil\n> mem = psutil.virtual_memory()\n> mem\n>\n> svmem(total=8589934592, available=3261071360, percent=62.0,\n> used=8046948352, free=139493376, active=3223863296, inactive=3121577984,\n> wired=1701507072)\n>\n> I am surprised how little memory is available.!\n>\n> —\n> You are receiving this because you commented.\n>\n>\n> Reply to this email directly, view it on GitHub\n> <https://github.com/SimonBiggs/npgamma/issues/6#issuecomment-262446109>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AGQVe4_AHwelNaTiFrUOLspLsDykmVP4ks5rA-YFgaJpZM4K3_Ek>\n> .\n>\n"}}
{"actor":{"display_login":"SimonBiggs"}}