Boost logo

Boost Users :

Subject: Re: [Boost-users] Memory usage
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-10-08 08:05:01


[converted to bottom-post by hand]

On 08/10/2010 08:55, Bo Jensen wrote:
> On Thu, Oct 7, 2010 at 9:48 PM, Olivier Tournaire<olitour_at_[hidden]> wrote:
>> Hi all,
>> Is there a (portable) way with boost libs to check memory usage?
>> Best regards,
>> Olivier
>
> I would like to know this too, so if anybody knows please enlighten
us :-)
>
> I have an application, where I need to track memory usage to be able
> to take decision based on memory usage stats. I ended up writing my
> own allocators (which padded each allocation) with a stat module on
> the side, I was hoping a library provided this functionality, but
> found none.
>

The only memory allocators I'm aware of are that of Boost.Pool and
Boost.Interprocess.

Providing statistics about memory usage would be a valuable addition to
any of those if it isn't already there


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