cannot allocate vector for random forest
2
0
Entering edit mode
Salwa Eid ▴ 100
@salwa-eid-5104
Last seen 9.6 years ago
Dear all, Have been trying to use random forest for classification and i keep getting the error cannot allocate vector size of 1.8 Gb. I am working on R 64 bits under windows 64 bits. I had a 3gb ram and then upgraded it to 8 to try to solve the problem. But still not working and have the same error. Any help? Regards,salwa [[alternative HTML version deleted]]
• 2.0k views
ADD COMMENT
0
Entering edit mode
Tim Triche ★ 4.2k
@tim-triche-3561
Last seen 3.6 years ago
United States
The fact that you have allocated it 5GB of new memory suggests that you may in fact be hitting the 3GB limit that was characteristic of Win32/x86. Is there a way to check that your R process is free to use all of the non-kernel memory? Some setting in the BIOS that might be preventing you from using PAE calls, or that sort of thing? It's the only obvious thing to check IMHO, since you said you're using 64 bit R on 64 bit Windows. I haven't had to administer a Windows box in ages so forgive me for not remembering the right incantation; it's just that I've hit this sort of a wall in the past, too. Can you post a sessionInfo() dump from inside R, just to be sure that everything is compiled right? You might also want to cross-post your query to R-help (with said sessionInfo() output included). I once had an embarrassingly simple problem that I could not solve, and Simon Urbanek just fixed it. But, if you are going to post there, be sure and provide sessionInfo(). A common theme. Hope this helps, --t On Sat, Mar 3, 2012 at 9:06 AM, Salwa Eid <salwaeid@hotmail.com> wrote: > > > > > Dear all, Have been trying to use random forest for classification and > i keep getting the error cannot allocate vector size of 1.8 Gb. I am > working on R 64 bits under windows 64 bits. I had a 3gb ram and then > upgraded it to 8 to try to solve the problem. But still not working and > have the same error. Any help? Regards,salwa > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor@r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor > -- *A model is a lie that helps you see the truth.* * * Howard Skipper<http: cancerres.aacrjournals.org="" content="" 31="" 9="" 1173.full.pdf=""> [[alternative HTML version deleted]]
ADD COMMENT
0
Entering edit mode
Salwa Eid ▴ 100
@salwa-eid-5104
Last seen 9.6 years ago
> > Dear all, Have been trying to use random forest for classification and i keep getting the error cannot allocate vector size of 1.8 Gb. I am working on R 64 bits under windows 64 bits. I had a 3gb ram and then upgraded it to 8 to try to solve the problem. But still not working and have the same error. Any help? Regards,salwa > [[alternative HTML version deleted]] Here is the output of sessionInfo() > sessionInfo() R version 2.14.2 (2012-02-29) Platform: x86_64-pc-mingw32/x64 (64-bit) locale: [1] LC_COLLATE=English_Canada.1252 LC_CTYPE=English_Canada.1252 [3] LC_MONETARY=English_Canada.1252 LC_NUMERIC=C [5] LC_TIME=English_Canada.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base > > _______________________________________________ > Bioconductor mailing list > Bioconductor@r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor [[alternative HTML version deleted]]
ADD COMMENT

Login before adding your answer.

Traffic: 650 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6