Re: [Valgrind-users] Using Valgrind with custom memory management

2021-11-18 Thread Oren Eini (Ayende Rahien) via Valgrind-users
Did you see this? https://valgrind.org/docs/manual/mc-manual.html#mc-manual.mempools On Thu, Nov 18, 2021 at 10:53 AM Abhijit Gokaraju wrote: > Hello Valgrind team, > > > > We have an application which uses its own memory management (e.g. allocate > buffer pools of specific sizes). > > So, the

Re: [Valgrind-users] Using Valgrind with custom memory management

2021-11-18 Thread Paul FLOYD
  > Could you please suggest if Valgrind has provisions to help detect memory > leaks, for applications such as ours. Hi Abhijit Yes, Valgrind has provisions for this. It will, however, require you to modify your code. The procedure is documented in the manual here https://valgrind.org/doc

[Valgrind-users] Using Valgrind with custom memory management

2021-11-18 Thread Abhijit Gokaraju
Hello Valgrind team, We have an application which uses its own memory management (e.g. allocate buffer pools of specific sizes). So, the calls to allocate/free memory do not result in calls to malloc()/free(). Only when the buffer pools need more memory, there are calls to malloc()/free(). Could