id summary reporter owner description type status milestone component version severity resolution keywords cc 11951 Memory leak in boost::when_all snizovtsev@… viboes "After trying to identify the source of huge memory leak in our product we found that problem sits inside boost::when_all. I have written a minimal program to demonstrate it. It simply constructs many promises, extracts the future from them and assign continuation to boost::when_all future. Then it waits for completition and loop. Run `htop` and see how memory infinitly consumes in time at ~300-400 kb/sec. I have run this test on OS X (El Capitan) and Ubuntu 15.10. On Linux also virtual memory (address space) consumed at ~1 GB/sec rate! ifdef-ed part of code are used to run on valgrind and test that future's target objects are NOT leaked." Bugs closed Boost 1.62.0 thread Boost 1.60.0 Regression fixed future continuation leak