{"action":"created","issue":{"url":"https://api.github.com/repos/stan-dev/rstan/issues/208","labels_url":"https://api.github.com/repos/stan-dev/rstan/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/stan-dev/rstan/issues/208/comments","events_url":"https://api.github.com/repos/stan-dev/rstan/issues/208/events","html_url":"https://github.com/stan-dev/rstan/issues/208","id":106073375,"number":208,"title":"Compiler problem after installation on windows","user":{"login":"cgettings","id":12686912,"avatar_url":"https://avatars.githubusercontent.com/u/12686912?v=3","gravatar_id":"","url":"https://api.github.com/users/cgettings","html_url":"https://github.com/cgettings","followers_url":"https://api.github.com/users/cgettings/followers","following_url":"https://api.github.com/users/cgettings/following{/other_user}","gists_url":"https://api.github.com/users/cgettings/gists{/gist_id}","starred_url":"https://api.github.com/users/cgettings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgettings/subscriptions","organizations_url":"https://api.github.com/users/cgettings/orgs","repos_url":"https://api.github.com/users/cgettings/repos","events_url":"https://api.github.com/users/cgettings/events{/privacy}","received_events_url":"https://api.github.com/users/cgettings/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-09-11T19:06:31Z","updated_at":"2015-09-11T21:25:04Z","closed_at":null,"body":"@bgoodri (This is @jgabry writing from one of Andrew's student's accounts) We're installing Stan and getting a very strange error when trying to compile the 8 schools model on Windows after rstan installation:\r\n\r\nError in .Call(Module__classes_info, xp) : \r\n  cannot allocate vector of length 1790997162\r\nIn addition: Warning message:\r\nrunning command '\"C:/PROGRA~1/R/R-32~1.0/bin/i386/R\" CMD config CXX' had status 2\r\n\r\nHave you seen this error before? Thanks!"},"comment":{"url":"https://api.github.com/repos/stan-dev/rstan/issues/comments/139664400","html_url":"https://github.com/stan-dev/rstan/issues/208#issuecomment-139664400","issue_url":"https://api.github.com/repos/stan-dev/rstan/issues/208","id":139664400,"user":{"login":"jgabry","id":7796803,"avatar_url":"https://avatars.githubusercontent.com/u/7796803?v=3","gravatar_id":"","url":"https://api.github.com/users/jgabry","html_url":"https://github.com/jgabry","followers_url":"https://api.github.com/users/jgabry/followers","following_url":"https://api.github.com/users/jgabry/following{/other_user}","gists_url":"https://api.github.com/users/jgabry/gists{/gist_id}","starred_url":"https://api.github.com/users/jgabry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgabry/subscriptions","organizations_url":"https://api.github.com/users/jgabry/orgs","repos_url":"https://api.github.com/users/jgabry/repos","events_url":"https://api.github.com/users/jgabry/events{/privacy}","received_events_url":"https://api.github.com/users/jgabry/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T21:25:04Z","updated_at":"2015-09-11T21:25:04Z","body":"So if I remember correctly it's still the CRAN version. Christopher (or do\nyou prefer Chris?) can you double check? You can just look at the version\nnumber of the rstan package by looking in the rstudio packages window (or\npackageVersion('rstan')).\n\nThere were several installation issues we were dealing with so I can't\nquite remember where we left it.\n\nOn Friday, September 11, 2015, Jonah Sol Gabry <jgabry@gmail.com> wrote:\n\n> Actually no, I was going to try the development version but I think we\n> didn't end up installing it.\n>\n> On Friday, September 11, 2015, Jonah Sol Gabry <jgabry@gmail.com\n> <javascript:_e(%7B%7D,'cvml','jgabry@gmail.com');>> wrote:\n>\n>> Cran at first, then I tried the development version.\n>>\n>> On Friday, September 11, 2015, bgoodri <notifications@github.com> wrote:\n>>\n>>> This is the CRAN version of rstan or the development one?\n>>>\n>>> On Fri, Sep 11, 2015 at 5:16 PM, Jonah Gabry <notifications@github.com>\n>>> wrote:\n>>>\n>>> > We tried freeing up memory, as well as switching to g++ but kept\n>>> getting\n>>> > the same error.\n>>> >\n>>> > The machine doesn't have an enormous amount of memory but if I recall\n>>> > correctly it has 6 gigs and more than half was free after we closed a\n>>> bunch\n>>> > of other things.\n>>> >\n>>> > On Friday, September 11, 2015, bgoodri <notifications@github.com>\n>>> wrote:\n>>> >\n>>> > > Yes; see the OP\n>>> > >\n>>> > > On Fri, Sep 11, 2015 at 4:58 PM, Daniel Lee <\n>>> notifications@github.com\n>>> > > <javascript:_e(%7B%7D,'cvml','notifications@github.com');>>\n>>> > > wrote:\n>>> > >\n>>> > > > Is that a 32 bit machine?\n>>> > > > On Sep 11, 2015 4:04 PM, \"bgoodri\" <notifications@github.com\n>>> > > <javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:\n>>> > > >\n>>> > > > > The mingw compiler for Windows can consume a lot more memory\n>>> than one\n>>> > > > would\n>>> > > > > expect. Can your provide some virtual memory (swap space) or try\n>>> to\n>>> > > close\n>>> > > > > anything else that may be running? You can also watch what used\n>>> to be\n>>> > > > > called Task Monitor on Windows to see it approach the memory\n>>> limit.\n>>> > > > >\n>>> > > > > On Fri, Sep 11, 2015 at 3:28 PM, Christopher Gettings <\n>>> > > > > notifications@github.com\n>>> > > <javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:\n>>> > > > >\n>>> > > > > > Thanks. Unfortunately nothing like that in the Makevars file.\n>>> And\n>>> > > there\n>>> > > > > > seems to be at least 3 or 4 gigs of RAM available before\n>>> trying to\n>>> > > > > compile\n>>> > > > > > the eight schools model\n>>> > > > > >\n>>> > > > > > —\n>>> > > > > > Reply to this email directly or view it on GitHub\n>>> > > > > > <\n>>> > https://github.com/stan-dev/rstan/issues/208#issuecomment-139640661\n>>> > > >.\n>>> > > > > >\n>>> > > > >\n>>> > > > > —\n>>> > > > > Reply to this email directly or view it on GitHub\n>>> > > > > <\n>>> https://github.com/stan-dev/rstan/issues/208#issuecomment-139649058\n>>> > >.\n>>> > > >\n>>> > > > >\n>>> > > >\n>>> > > > —\n>>> > > > Reply to this email directly or view it on GitHub\n>>> > > > <\n>>> https://github.com/stan-dev/rstan/issues/208#issuecomment-139659948>.\n>>> > > >\n>>> > >\n>>> > > —\n>>> > > Reply to this email directly or view it on GitHub\n>>> > > <https://github.com/stan-dev/rstan/issues/208#issuecomment-139660830\n>>> >.\n>>> >\n>>> > >\n>>> >\n>>> > —\n>>> > Reply to this email directly or view it on GitHub\n>>> > <https://github.com/stan-dev/rstan/issues/208#issuecomment-139663012>.\n>>> >\n>>>\n>>> —\n>>> Reply to this email directly or view it on GitHub\n>>> <https://github.com/stan-dev/rstan/issues/208#issuecomment-139663284>.\n>>>\n>>\n"}}