title: Measuring max stack usage of a thread in visual studio
body: <p>I am trying to figure out how it is possible to measure the max stack usage of a thread on windows platform using visual studio using a code that is written in C ?</p>
  
  <p>I was thinking to use the TID structure , but it gives me only the current stack usage , and not the MAX stack usage.</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks,
  Michael</p>