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 ? Thanks, Xiaodong