help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

strange error with matrix largern then 2GB


From: Daniel Heiserer
Subject: strange error with matrix largern then 2GB
Date: Mon, 17 Jul 2006 16:55:47 +0200

I created a large matrix and then tried to multiply this matrix. This results in a dimension mismatch. There must be a bug.
Did anybody have the same experience?
 
My machine is x86_64 linux box with octave 2.9.3
 
best regards, daniel
 
 
N=647088*3;
 tic;x=rand(N,211);toc
whos
 
   rwd x          1941264x211               2147482616  matrix
   rwd x1             200x3                       4800  matrix
   rwd x2               3x1                         24  matrix
   rwd x3             200x1                       1600  matrix
 
Total is 409607509 elements using 2147489056 bytes
 
octave-2.9.3:11> y=rand(211,1);
octave-2.9.3:12> tic;x1=x*y;toc
error: Array::Array (const Array&, const dim_vector&): dimension mismatch
error: Array::Array (const Array&, const dim_vector&): dimension mismatch
error: Array::Array (const Array&, const dim_vector&): dimension mismatch
panic: Segmentation fault -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Segmentation fault

reply via email to

[Prev in Thread] Current Thread [Next in Thread]