Hi,

Probably this is a very simple question for all the programmers, but how do
you change from 32-bit builds (default) to 64-bit builds?

I've been trying to run Anova to compare two models, but I get the following
error message:

Error: cannot allocate vector of size 1.2 Gb
R(3122,0xa0ab44e0) malloc: *** mmap(size=1337688064) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
R(3122,0xa0ab44e0) malloc: *** mmap(size=1337688064) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug


I suppose it's a problem with memory allocation because of the big data
size, so I thought I should use 64-bit builds instead of 32.

As it was recommended in a manual, I've entered the following:

> CC='gcc -arch x86_64'
> CXX='g++ -arch x86_64'
> F77='gfortran -arch x86_64'
> FC='gfortran -arch x86_64'
> OBJC='gcc -arch x86_64'

But it still gave me error.  I'd greatly appreciate if someone can answer
this question!

Thank you,
Sachi

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to