Open GoogleCodeExporter opened 9 years ago
Original comment by christop...@feelpp.org
on 15 Mar 2012 at 10:06
Test case created and reproduce the problem in :
fsi/applications/levelset/laplacian
Original comment by vincent....@gmail.com
on 15 Mar 2012 at 3:16
Could you put it in the testsuite for example testsuite/feeldiscr ?
that way this test will run and show up in the CDash.
thanks a lot for your help. I will try to have a look next week
Original comment by christop...@feelpp.org
on 15 Mar 2012 at 3:38
Original comment by christop...@feelpp.org
on 18 Mar 2012 at 2:51
I found indeed a memory leak in the preconditioner framework. After checking
with tcmalloc there does not seem to be a memory leak anymore in
test_solve_leak.cpp with the backends. I have done up to 2000 iterations
without a change in the memory consumption.
However note that I have commented out the codes before and after the backend
calls.
I am now testing when reverting this change and see if there are memory leaks
elsewhere.
Original comment by christop...@feelpp.org
on 3 Apr 2012 at 8:25
Thanks for the fix !
It looks better but I still have a small increase of the memory.
It is more obvious with umfpack preconditioner but I can see it without.
for example if I run the test with :
./test_solve_leak --hsize=0.04 --pc-factor-mat-solver-package-type=umfpack
Some "solve" call with recreated backend do not free all the memory.
It doesn't happen evey iteration ...
(in my code with a big matrix, the memory leak is still obvious)
Original comment by vincent....@gmail.com
on 5 Apr 2012 at 5:09
Original comment by christop...@feelpp.org
on 8 May 2012 at 9:59
is it still leaking ?
Original comment by christop...@feelpp.org
on 7 Dec 2012 at 8:49
Original issue reported on code.google.com by
christop...@feelpp.org
on 12 Mar 2012 at 4:12