title: Visual Studio 2015 Diagnostic Tools Memory Usage & C++ Debugging
body: <p>I have Visual Studio Enterprise 2015 and a native C++ project. I would like to analyze memory usage. Our software runs as a Windows service, so I typically debug by attaching to the running service. I found that when I do that the Diagnostic Tools Memory Usage is not available:</p>
  
  <p><a href="https://i.stack.imgur.com/wkmcE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wkmcE.png" alt="enter image description here"></a></p>
  
  <p>However, when I start the software through the debugger (by pressing F5) the Memory Usage tool shows up:</p>
  
  <p><a href="https://i.stack.imgur.com/zOYoD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zOYoD.png" alt="enter image description here"></a></p>
  
  <p><strong>Is it supposed to be like that, ie. is the Memory Usage Diagnostic Tool not supported when attaching to a process?</strong></p>
  
  <p>The Memory Usage Diagnostic Tool is missing both when attaching to a locally running process as well as when remote debugging (attaching to a process on another machine).</p>