[petsc-dev] memory leak

Mark Adams mfadams at lbl.gov
Sun May 31 18:24:30 CDT 2015


On Sat, May 30, 2015 at 10:51 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
>  Need more details. How can we reproduce this?
>

I was hoping this would be obvious. a missed free.

What tests use Schur solvers?  I could see if they have the same problem.


>
>   Barry
>
> > On May 30, 2015, at 7:10 PM, Mark Adams <mfadams at lbl.gov> wrote:
> >
> > This look like there might be a memory leak in PETSc.  Let me know if
> this is not obvious and get more detail.
> > Mark
> >
> > [0]Total space allocated 16 bytes
> > [ 0]16 bytes PCFieldSplitGetSubKSP_FieldSplit_Schur() line 1263 in
> /global/u2/m/madams/petsc/src/ksp/pc/impls/fieldsplit/fieldsplit.c
> >       [0]  PCFieldSplitGetSubKSP_FieldSplit_Schur() line 1263 in
> /global/u2/m/madams/petsc/src/ksp/pc/impls/fieldsplit/fieldsplit.c
> >       [0]  PCFieldSplitGetSubKSP() line 1665 in
> /global/u2/m/madams/petsc/src/ksp/pc/impls/fieldsplit/fieldsplit.c
> >       [0]  KSPSetUp() line 247 in
> /global/u2/m/madams/petsc/src/ksp/ksp/interface/itfunc.c
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150531/0b0fc797/attachment.html>


More information about the petsc-dev mailing list