[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: high memory usage by spdet / memory leak?
From: |
Dmitri A. Sergatskov |
Subject: |
Re: high memory usage by spdet / memory leak? |
Date: |
Tue, 10 May 2005 17:54:49 -0600 |
User-agent: |
Mozilla Thunderbird (X11/20050322) |
David Bateman wrote:
Try the following patch
2005-04-29 David Bateman <address@hidden>
* dSparse.cc (determinant): Free numeric factorization after
sucessful calculation.
* CSparse.cc (determinant): ditto.
D.
Thanks.
I tried today's octave cvs snapshot and it does not have memory leak
in spdet. The memory usage during spdet() calculation still high --
something about 300MB. This is for array produced by
octave:1> n=6000; a=speye(n,n)+0.01*sprandn(n,n,0.001);
octave:2> whos a
*** local user variables:
Prot Name Size Bytes Class
==== ==== ==== ===== =====
rwd a 6000x6000 527572 sparse matrix
Total is 41964 elements using 527572 bytes
Sincerely,
Dmitri.
--