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.

Is there a way to know the value of maximum stack size consumed?

consumed maximum size stack value
0
Posted

Is there a way to know the value of maximum stack size consumed?

0

There isn’t a straightforward way to do this, however, there is a way using HP OpenView GlancePlus. GlancePlus has a function that reports the memory utilization for the memory mapped regions. First, select the process you want to monitor, then select Process Memory Regions. Isolate the regions allocated for the individual threads by looking for regions whose VSS value matches the value currently defined for -Xss. Once found, look at the values of the RSS for these regions and you can get a picture of what each thread is consuming. If you don’t have too many threads, you should be able to find out quickly the largest thread stack utilization. You could possibly write a script to process this information.

Related Questions

What is your question?

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

Experts123