The vtkPKdTree ones look like they could be after looking at the code,
especially vtkPKdTree::InitializeRegionAssignmentLists(). It seems like a
good idea to replace the int **ProcessAssignmentMap with maybe a
std::vector. Probably a good idea for the other member variables here as
well. I'll spend some time refactoring vtkPKdTree to make sure that the
memory management is leak free.
I don't see anything that suspicious with respect to ParaView in the other
leak reports, though that doesn't necessarily mean that they aren't leaks.
On Thu, Feb 22, 2018 at 4:53 PM, Yvan Fournier <yvan.fourn...@free.fr>
> Running under Valgrind (memcheck, with --enable-leak-check=full), I have
> warnings about ParaView/Catalyst possibly leaking memory.
> Catalyst is called from Code_Saturne, whose adapter code (using ParaView
> adapters from C++) is here https://www.code-saturne.org/
> /fvm/fvm_to_catalyst.cxx?revision=11048&view=markup, using the attached
> results.py script.
> I fixed a leak in my own code following the Valgrind warnings, but some
> warnings seem related to calls I have no direct control over, so I attach
> a log
> (on one MPI rank) of Valgrind warnings (edited to remove OpenMPI
> related warnings). The first part contains memcheck warnings, the part
> "HEAP SUMMARY" the memory leak info.
> I'm not sure if the leaks are "one time only" (not too much of an issue),
> or can
> occur at every output timestep (30 in this example, for a small case with
> 8000 mesh elements per MPI rank), so any opinion / checking on that would
> Best regards,
> Yvan Fournier
> Powered by www.kitware.com
> Visit other Kitware open-source projects at http://www.kitware.com/
> Please keep messages on-topic and check the ParaView Wiki at:
> Search the list archives at: http://markmail.org/search/?q=ParaView
> Follow this link to subscribe/unsubscribe:
Powered by www.kitware.com
Visit other Kitware open-source projects at
Please keep messages on-topic and check the ParaView Wiki at:
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe: