Subject: [boost] [task in sandbox] memory leak?
From: Jeffrey Hellrung (jhellrung_at_[hidden])
Date: 2009-10-27 18:27:06
A colleague of mine is trying to use the proposed Boost.Task library in
the sandbox, but he is observing some memory leaks. See forwarded email
below and attached cpp file. Does anyone have any information or
suggestions for him?
I agreed to query the list for him, but if this becomes too involved,
I'll ask him to subscribe and communicate directly.
-------- Original Message --------
Subject: Boost.task memory leak
Date: Tue, 27 Oct 2009 15:14:44 -0700
From: Paul Jones <pajones_at_[hidden]>
To: Jeffrey Hellrung <jhellrung_at_[hidden]>
This code leaks memory on my system:
- gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8)
- Boost 1.40
When this code is run you can observe the program's allocated memory
steadily increasing in the system monitor. The output displays the
number of (undestroyed) functor objects when all the pool has
completed all of its tasks. This seems to be capped at 64, so this
isn't the source of the leak.
The maintainer's name is Oliver Kowalke. But I couldn't find his email
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk