[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: "out of memory or dimension too large for Octave's index type"
From: |
mmuetzel |
Subject: |
RE: "out of memory or dimension too large for Octave's index type" |
Date: |
Tue, 16 Jan 2018 08:58:59 -0700 (MST) |
Hi Yan,
If you know the size of the matrices you need already at the start of your
program, you could try and "reserve" a continuous memory block for it. You
might be able to do something like:
function A = fragments_memory ()
A = zeros(5184,3904, typename);
... (the lines that fragment your memory)
A(:,:) = what_it_should_be;
endfunction
Best regards,
Markus
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html