<div dir="ltr">Hi Jason,<div><br></div><div>This is follow up question to <a href="https://github.com/jemalloc/jemalloc/issues/79" target="_blank">https://github.com/jemalloc/jemalloc/issues/79</a><br><div><br></div><div>We wanted to periodically monitor memory usage with stack-trace of each allocation in multi-threaded application. Currently, I could dump memory usage (potential leak's) at exit time of the program. Is it possible to report memory usage (prof_fdump) called with leak enabled using timer thread while others threads are working on ?. </div>
<div><br></div><div>Is there risk of calling 'prof_fdump' with leak directly from program ?. Currently prof_fdump is static function. Thats needed to be changed for this purpose. I will make sure only one thread (caller) calls prof_fdump. </div>
<div><br></div><div>Is there any other way to dump memory objects with stack trace currently held (more like exit time output using prof_leak) periodically ?. </div><div><br></div><div>Thanks,</div><div>Regards,</div><div>
Sudurais</div><div><br></div></div></div>