{"action":"created","issue":{"url":"https://api.github.com/repos/OpenRefine/OpenRefine/issues/1295","repository_url":"https://api.github.com/repos/OpenRefine/OpenRefine","labels_url":"https://api.github.com/repos/OpenRefine/OpenRefine/issues/1295/labels{/name}","comments_url":"https://api.github.com/repos/OpenRefine/OpenRefine/issues/1295/comments","events_url":"https://api.github.com/repos/OpenRefine/OpenRefine/issues/1295/events","html_url":"https://github.com/OpenRefine/OpenRefine/issues/1295","id":269334163,"number":1295,"title":"Add free memory detection and auto setting from batch file","user":{"login":"thadguidry","id":986438,"avatar_url":"https://avatars2.githubusercontent.com/u/986438?v=4","gravatar_id":"","url":"https://api.github.com/users/thadguidry","html_url":"https://github.com/thadguidry","followers_url":"https://api.github.com/users/thadguidry/followers","following_url":"https://api.github.com/users/thadguidry/following{/other_user}","gists_url":"https://api.github.com/users/thadguidry/gists{/gist_id}","starred_url":"https://api.github.com/users/thadguidry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thadguidry/subscriptions","organizations_url":"https://api.github.com/users/thadguidry/orgs","repos_url":"https://api.github.com/users/thadguidry/repos","events_url":"https://api.github.com/users/thadguidry/events{/privacy}","received_events_url":"https://api.github.com/users/thadguidry/received_events","type":"User","site_admin":false},"labels":[{"id":16457115,"url":"https://api.github.com/repos/OpenRefine/OpenRefine/labels/component-Scripts","name":"component-Scripts","color":"FFFFFF","default":false},{"id":49834470,"url":"https://api.github.com/repos/OpenRefine/OpenRefine/labels/easy","name":"easy","color":"009800","default":false},{"id":16456824,"url":"https://api.github.com/repos/OpenRefine/OpenRefine/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":741253958,"url":"https://api.github.com/repos/OpenRefine/OpenRefine/labels/preferences","name":"preferences","color":"baffb2","default":false}],"state":"open","locked":false,"assignee":{"login":"jackyq2015","id":10520203,"avatar_url":"https://avatars0.githubusercontent.com/u/10520203?v=4","gravatar_id":"","url":"https://api.github.com/users/jackyq2015","html_url":"https://github.com/jackyq2015","followers_url":"https://api.github.com/users/jackyq2015/followers","following_url":"https://api.github.com/users/jackyq2015/following{/other_user}","gists_url":"https://api.github.com/users/jackyq2015/gists{/gist_id}","starred_url":"https://api.github.com/users/jackyq2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackyq2015/subscriptions","organizations_url":"https://api.github.com/users/jackyq2015/orgs","repos_url":"https://api.github.com/users/jackyq2015/repos","events_url":"https://api.github.com/users/jackyq2015/events{/privacy}","received_events_url":"https://api.github.com/users/jackyq2015/received_events","type":"User","site_admin":false},"assignees":[{"login":"jackyq2015","id":10520203,"avatar_url":"https://avatars0.githubusercontent.com/u/10520203?v=4","gravatar_id":"","url":"https://api.github.com/users/jackyq2015","html_url":"https://github.com/jackyq2015","followers_url":"https://api.github.com/users/jackyq2015/followers","following_url":"https://api.github.com/users/jackyq2015/following{/other_user}","gists_url":"https://api.github.com/users/jackyq2015/gists{/gist_id}","starred_url":"https://api.github.com/users/jackyq2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackyq2015/subscriptions","organizations_url":"https://api.github.com/users/jackyq2015/orgs","repos_url":"https://api.github.com/users/jackyq2015/repos","events_url":"https://api.github.com/users/jackyq2015/events{/privacy}","received_events_url":"https://api.github.com/users/jackyq2015/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/OpenRefine/OpenRefine/milestones/9","html_url":"https://github.com/OpenRefine/OpenRefine/milestone/9","labels_url":"https://api.github.com/repos/OpenRefine/OpenRefine/milestones/9/labels","id":2641694,"number":9,"title":"2.7.2","description":"Simple bugs that annoy our users that can be focused on and fixed quickly.","creator":{"login":"thadguidry","id":986438,"avatar_url":"https://avatars2.githubusercontent.com/u/986438?v=4","gravatar_id":"","url":"https://api.github.com/users/thadguidry","html_url":"https://github.com/thadguidry","followers_url":"https://api.github.com/users/thadguidry/followers","following_url":"https://api.github.com/users/thadguidry/following{/other_user}","gists_url":"https://api.github.com/users/thadguidry/gists{/gist_id}","starred_url":"https://api.github.com/users/thadguidry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thadguidry/subscriptions","organizations_url":"https://api.github.com/users/thadguidry/orgs","repos_url":"https://api.github.com/users/thadguidry/repos","events_url":"https://api.github.com/users/thadguidry/events{/privacy}","received_events_url":"https://api.github.com/users/thadguidry/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":17,"state":"open","created_at":"2017-07-14T16:13:47Z","updated_at":"2017-11-10T18:31:38Z","due_on":"2017-11-14T08:00:00Z","closed_at":null},"comments":10,"created_at":"2017-10-28T17:18:59Z","updated_at":"2017-11-10T18:37:08Z","closed_at":null,"author_association":"OWNER","body":"... on 1st startup of OpenRefine.\r\nAlso add better/extra batch script output to warn user of low memory prior to starting Java VM.\r\n\r\nThis needs to work from Windows, Linux, and OSX.\r\n\r\n**Windows:**  ```C:\\Users\\Thad>wmic os get FreePhysicalMemory /format:list```\r\n**Linux:**  ```free -m | grep -oP '\\d+' | head -n 1```\r\n**OSX:**  ```vm_stat```  ??? but what additional options to parse out the free mem ?  or does ```top -l 1 | grep ^PhysMem``` get us closer to that ?\r\n\r\nQuestion: Do we assume 50% of that for OpenRefine use to be a good citizen or can we push it to 75% ?"},"comment":{"url":"https://api.github.com/repos/OpenRefine/OpenRefine/issues/comments/343552212","html_url":"https://github.com/OpenRefine/OpenRefine/issues/1295#issuecomment-343552212","issue_url":"https://api.github.com/repos/OpenRefine/OpenRefine/issues/1295","id":343552212,"user":{"login":"thadguidry","id":986438,"avatar_url":"https://avatars2.githubusercontent.com/u/986438?v=4","gravatar_id":"","url":"https://api.github.com/users/thadguidry","html_url":"https://github.com/thadguidry","followers_url":"https://api.github.com/users/thadguidry/followers","following_url":"https://api.github.com/users/thadguidry/following{/other_user}","gists_url":"https://api.github.com/users/thadguidry/gists{/gist_id}","starred_url":"https://api.github.com/users/thadguidry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thadguidry/subscriptions","organizations_url":"https://api.github.com/users/thadguidry/orgs","repos_url":"https://api.github.com/users/thadguidry/repos","events_url":"https://api.github.com/users/thadguidry/events{/privacy}","received_events_url":"https://api.github.com/users/thadguidry/received_events","type":"User","site_admin":false},"created_at":"2017-11-10T18:37:08Z","updated_at":"2017-11-10T18:37:08Z","author_association":"OWNER","body":"@jackyq2015 I thought of that also.  Let's change the need of this issue then to a notification only.\r\n\r\nWe inspect (using the 3 OS memory lookups that found work well above) and then advise the user on startup... \"Hey ! We noticed that you have 6 Gigs of Free Memory available....OpenRefine can run better when given more memory.  Read our FAQ on how to allocate more memory here: blahURL\""}}
{"actor":{"display_login":"thadguidry"}}