Skip to content
Prev 59129 / 398502 Next

memory allocation

On Tue, 16 Nov 2004, Massimiliano Copetti wrote:

            
The memory demands arise in stvmat() called inside stsecal(), in which an 
(s*tm)*(s*tm) numeric matrix is allocated, described in the code as a 
"full spacetime variance/covariance matrix", and which is necessarily 
large. In your case 23040000 elements are used of 8 bytes each, so to do 
this in the way you describe you need more RAM - the matrix may be copied 
as well. The authors of the package and the underlying method did not 
anticipate needing this high degree of spatial and temporal resolution.

Roger Bivand