Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2586: all_gather generates a memory leak
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-12-12 16:12:05
#2586: all_gather generates a memory leak
-------------------------------------+--------------------------------------
Reporter: micdestefano_at_[hidden] | Owner: troyer
Type: Bugs | Status: new
Milestone: Boost 1.38.0 | Component: mpi
Version: Boost 1.36.0 | Severity: Cosmetic
Resolution: | Keywords: MPI all_gather valgrind still reachable
-------------------------------------+--------------------------------------
Changes (by anonymous):
* owner: dgregor => troyer
* severity: Problem => Cosmetic
Comment:
This is a minor issue. Boost.MPI creates a global map of MPI Datatypes
used that are cached until the end of execution. They cannot be released
at the end of program execution when the map is destroyed, since at that
time MPI is no longer initialized. Since at that point in time a memory
leak is irrelevant this is an acceptable decision.
However, it causes this warning when users check their code by valgrind.
Note that it will appear anytime you use a custom MPI datatype anywhere,
not just when using all_reduce.
We can still fix it in the next release, at the cost of slightly slower
finalization of MPI.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2586#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC