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.

Can I use memstat to track all allocations and frees?

allocations frees memstat track
0
10 Posted

Can I use memstat to track all allocations and frees?

0
10

The default setting of the memstat probes is to pinpoint leaks in a longer-running program. However, you can change the options. From the main RC window select the memstat probe in the UAL list, right click and choose Edit UAL. From the Runtime tab change the Sampling Ratio to 1 so you see every allocation. From the Format tab check the Display Freed Allocations box. You might also find the Display Zero Growth Allocations useful. Next run, you’ll start seeing those freed allocations. Click the OK button and then the Build button. Re-format (either through the Index or Examine button) and the reports should have the information you need.

Related Questions

What is your question?

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

Experts123