[petsc-users] Inquiry about the definitely lost memory
Matthew Knepley
knepley at gmail.com
Fri Jun 9 11:37:55 CDT 2023
On Fri, Jun 9, 2023 at 12:04 PM neil liu <liufield at gmail.com> wrote:
> Dear Petsc developers,
>
> I am using valgrind to check the memory leak. It shows,
> [image: image.png]
> Finally, I found that DMPlexrestoretrasitiveclosure can resolve this
> memory leak.
>
> My question is from the above screen shot, it seems the leak is related to
> MPI. How can I relate that reminder to DMPlexrestoretrasitiveclosure ?
>
This is a knock-on leak related to the first one. You will also see the
original leak. Since it is inside DM, it will come from DMGetWorkArray().
THanks,
Matt
> Thanks,
>
> Xiaodong
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230609/e4addeb2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 52278 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230609/e4addeb2/attachment-0001.png>
More information about the petsc-users
mailing list