[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
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