Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why doesn my program generate Memory Advisor output after I build it using the memadvise command?

0
Posted

Why doesn my program generate Memory Advisor output after I build it using the memadvise command?

0

When your program exits, you should at least see a leak report or a report stating that there were no leaks. If you do not get this output, you have probably not enabled Memory Advisor. Be sure that you have set the MA_ENABLED option to on in your environment or in one of the Memory Advisor configuration files. By default, this option is on. In addition, check the value of the MA_ERROR_FILE option, which could be redirecting the error output to a file. Remember that, as part of remote site support, Memory Advisor ignores any configuration options if you set the _ma_ignore_config variable within your program to a nonzero value. Be sure that you have linked your program with the memadvise command.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123