|
Boost Users : |
Subject: Re: [Boost-users] [filesystem] Memory leaks when building with MSVC 2010
From: Christian Henning (chhenning_at_[hidden])
Date: 2012-05-17 20:39:40
Hi Will,
> I don't know about forests and trees, but I do know that your test could
> easily be hiding instances of one-time allocation, which you don't see
> because you are also only allocating one boost::filesystem::path. I would
> recommend allocating and deleting 50 or 100 ro 100,000 path objects and
> seeing if the "leaks" are actually growing.
>
> From my own experience, we use boost::filesystem *extensively* in a large
> cross-platform project, and we perform rather exhaustive memory and static
> checking of our binaries on multiple platforms. We have seen no leaks from
> boost::filesystem.
You are correct. It was my fault. It's a non-issue.
Thanks again for you advice,
Christian
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net