octave memory

John W. Eaton jwe at octave.org
Wed Feb 11 12:52:38 CST 2009


On 11-Feb-2009, jean francois sauvage wrote:

| You are right, the inverse of a sparse matrix is generally not sparse.
| My idea is to use Cholesky factorisation. But I want to know how much
| space is needed by this factorisation. I can check this on Windows
| Task Manager, but without separating the contributions of the
| different process.
| 
| but okay, it seems there is no built-in way to reach this information
| from octave. maybe I can write an octave function interfaced with a
| terminal command (like "top").

I think the maxrss field of the structure returned by the getrusage
function should give you what you want, but on my GNU/Linux system,
that field is always 0.  So finding out why that happens and fixing
the problem would probably be a better solution.

jwe


More information about the Help-octave mailing list