{"action":"created","issue":{"url":"https://api.github.com/repos/emacs-ess/ESS/issues/591","repository_url":"https://api.github.com/repos/emacs-ess/ESS","labels_url":"https://api.github.com/repos/emacs-ess/ESS/issues/591/labels{/name}","comments_url":"https://api.github.com/repos/emacs-ess/ESS/issues/591/comments","events_url":"https://api.github.com/repos/emacs-ess/ESS/issues/591/events","html_url":"https://github.com/emacs-ess/ESS/issues/591","id":336975777,"node_id":"MDU6SXNzdWUzMzY5NzU3Nzc=","number":591,"title":"ESS: RStudio like memory allocation warning","user":{"login":"tmbsundar","id":9553611,"node_id":"MDQ6VXNlcjk1NTM2MTE=","avatar_url":"https://avatars1.githubusercontent.com/u/9553611?v=4","gravatar_id":"","url":"https://api.github.com/users/tmbsundar","html_url":"https://github.com/tmbsundar","followers_url":"https://api.github.com/users/tmbsundar/followers","following_url":"https://api.github.com/users/tmbsundar/following{/other_user}","gists_url":"https://api.github.com/users/tmbsundar/gists{/gist_id}","starred_url":"https://api.github.com/users/tmbsundar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmbsundar/subscriptions","organizations_url":"https://api.github.com/users/tmbsundar/orgs","repos_url":"https://api.github.com/users/tmbsundar/repos","events_url":"https://api.github.com/users/tmbsundar/events{/privacy}","received_events_url":"https://api.github.com/users/tmbsundar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-29T12:12:27Z","updated_at":"2018-06-30T01:09:23Z","closed_at":null,"author_association":"NONE","body":"I am running ESS from WSL in Windows 10. (no direct linux because it's a workplace image.) We have R Studio as well. I prefer to use Emacs/ ESS.\r\n\r\nThe issue I faced is this: While running hcluster and pamk clustering methods, we need to calculate the distance matrix. I used daisy from cluster package and pamk from the fpc package. In both the cases, the R inferior process ran for some good amount of time  (say 20-30 minutes or so.) and failed with a Segmentation fault error.\r\n\r\nThere are around 45000 rows and 60 variables. The RAM of the machine is 8 GB. \r\n\r\nI ran them in RStudio. RStudio immediately gave me a warning that \"cannot allocate vector of size 7.7 Gb\" and aborted the invocation.\r\n\r\nThe question here is this: Is there a way to improve ESS behavior like RStudio. Am I missing any packages/ settings or plug ins? \r\n\r\nTime is not the only problem. After such a crash, the entire R session loses all variables etc., and the session becomes unresponsive and only option is to kill all, exit and then restart Emacs and ESS. So, it will be nice to have a forewarning from ESS and an option to abort and return to the base process.\r\n\r\nI googled a lot and did not find any solution. Hence, raising the issue here. Thanks."},"comment":{"url":"https://api.github.com/repos/emacs-ess/ESS/issues/comments/401507200","html_url":"https://github.com/emacs-ess/ESS/issues/591#issuecomment-401507200","issue_url":"https://api.github.com/repos/emacs-ess/ESS/issues/591","id":401507200,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTUwNzIwMA==","user":{"login":"vspinu","id":1363467,"node_id":"MDQ6VXNlcjEzNjM0Njc=","avatar_url":"https://avatars3.githubusercontent.com/u/1363467?v=4","gravatar_id":"","url":"https://api.github.com/users/vspinu","html_url":"https://github.com/vspinu","followers_url":"https://api.github.com/users/vspinu/followers","following_url":"https://api.github.com/users/vspinu/following{/other_user}","gists_url":"https://api.github.com/users/vspinu/gists{/gist_id}","starred_url":"https://api.github.com/users/vspinu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vspinu/subscriptions","organizations_url":"https://api.github.com/users/vspinu/orgs","repos_url":"https://api.github.com/users/vspinu/repos","events_url":"https://api.github.com/users/vspinu/events{/privacy}","received_events_url":"https://api.github.com/users/vspinu/received_events","type":"User","site_admin":false},"created_at":"2018-06-30T01:09:23Z","updated_at":"2018-06-30T01:09:23Z","author_association":"MEMBER","body":"Indeed. It's probably just accidental that crash hapend with ESS. Probably at the moment you run the command with ESS there was memory and computation started, but then a segmentation fault was triggered (which, btw, might not even be memory related). "}}
{"actor":{"display_login":"vspinu"}}