help-octave
[Top][All Lists]
Advanced

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

Loading a 318 MB matrix into Octave 32 bit


From: Elliot Gorokhovsky
Subject: Loading a 318 MB matrix into Octave 32 bit
Date: Sun, 28 Jul 2013 19:21:34 -0500

I am running 32 bit octave on a 64 bit system (I would really like to keep it that way if possible) and I have a .mat with a double matrix size 5492743 by 3. Octave says it takes 131,825,832 bytes. When I run the following script (with num=140000) I get, immediately[, error: memory exhausted or requested size too large for range of Octave's index type -- trying to return to prompt.

data = "">
for i = 1:length(data)-num
data(i,:)=[data(i,1:3),vec(data((i+1):(i+num),1:3)')'];
disp(i)
end
data = "">

Can I fix this without recompiling? If I have to recompile, how do I do it?

Thanks, 
Elliot Gorokhovsky



reply via email to

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