Re: [R] cannot allocate memory block of size 2.7 Gb

2013-01-26 Thread Uwe Ligges



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]]



__
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.



__
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.


[R] cannot allocate memory block of size 2.7 Gb

2013-01-23 Thread Cláudio Brisolara




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]]

__
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.