cannot allocate memory block of size 2.7 Gb

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

cannot allocate memory block of size 2.7 Gb

csbrisolara




Hello R-users

I am getting error messagens when I require some packages or execute some procedures, like these below:

> require(tseries)
Loading required package: tseries
Error in get(Info[i, 1], envir = env) :
  cannot allocate memory block of size 2.7 Gb

> require (TSA)
Loading required package: TSA
Loading required package: locfit
Error in get(Info[i, 1], envir = env) :
  cannot allocate memory block of size 2.7 Gb
Failed with error:  ‘package ‘locfit’ could not be loaded’

I used the commands memory.limit() and memory.size() to check memory limitation, but I could not see any problem. I send also sessionInfo() data. I have run the same script and different computers with less memory capacity, so it seems to me that it is not a real memory problem.

> memory.limit()
[1] 6004
> memory.size()
[1] 1361.88

> sessionInfo()
R version 2.15.2 (2012-10-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=Portuguese_Brazil.1252  LC_CTYPE=Portuguese_Brazil.1252  
[3] LC_MONETARY=Portuguese_Brazil.1252 LC_NUMERIC=C                      
[5] LC_TIME=Portuguese_Brazil.1252    
 
loaded via a namespace (and not attached):
[1] grid_2.15.2      quadprog_1.5-4   stabledist_0.6-5 tools_2.15.2    
[5] xtable_1.7-0


Please, someone can help me understand that is happening and what should I do to fix it?

Regards,

Cláudio Brisolara
Postgraduate student
University of São Paulo
     
        [[alternative HTML version deleted]]


______________________________________________
[hidden email] 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 | Threaded
Open this post in threaded view
|

Re: cannot allocate memory block of size 2.7 Gb

Uwe Ligges-3


On 23.01.2013 23:41, Cláudio Brisolara wrote:

>
>
>
>
> Hello R-users
>
> I am getting error messagens when I require some packages or execute some procedures, like these below:
>
>> require(tseries)
> Loading required package: tseries
> Error in get(Info[i, 1], envir = env) :
>    cannot allocate memory block of size 2.7 Gb
>> require (TSA)
> Loading required package: TSA
> Loading required package: locfit
> Error in get(Info[i, 1], envir = env) :
>    cannot allocate memory block of size 2.7 Gb
> Failed with error:  ‘package ‘locfit’ could not be loaded’
>
> I used the commands memory.limit() and memory.size() to check memory limitation, but I could not see any problem. I send also sessionInfo() data. I have run the same script and different computers with less memory capacity, so it seems to me that it is not a real memory problem.
>
>> memory.limit()
> [1] 6004

Apparently you need  ore than that.
But we do not know how much your workspace is messed up  or what you did
that at least 2.7 Gb additional memory is required in your next step.

Best,
Uwe Ligges





>> memory.size()
> [1] 1361.88
>
>> sessionInfo()
> R version 2.15.2 (2012-10-26)
> Platform: x86_64-w64-mingw32/x64 (64-bit)
>
> locale:
> [1] LC_COLLATE=Portuguese_Brazil.1252  LC_CTYPE=Portuguese_Brazil.1252
> [3] LC_MONETARY=Portuguese_Brazil.1252 LC_NUMERIC=C
> [5] LC_TIME=Portuguese_Brazil.1252
>
> loaded via a namespace (and not attached):
> [1] grid_2.15.2      quadprog_1.5-4   stabledist_0.6-5 tools_2.15.2
> [5] xtable_1.7-0
>
>
> Please, someone can help me understand that is happening and what should I do to fix it?
>
> Regards,
>
> Cláudio Brisolara
> Postgraduate student
> University of São Paulo
>    
> [[alternative HTML version deleted]]
>
>
>
> ______________________________________________
> [hidden email] 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.
>

______________________________________________
[hidden email] 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.