title: Resource limits have been exceeded. Data collection in this window has been stopped. Visual Studio 2017
body: <p>I am running an ASP.NET MVC web application on Visual Studio 2017 over IIS. </p>
  
  <p>The Diagnostic Tools tell me the alert:</p>
  
  <blockquote>
    <p>Resource limits have been exceeded. Data collection in this window has
    been stopped.</p>
  </blockquote>
  
  <p><strong>Screenshot:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/rzBug.png" rel="noreferrer"><img src="https://i.stack.imgur.com/rzBug.png" alt="enter image description here"></a></p>
  
  <p>It happens after running around 5 mins. I stopped and restarted it, still the same thing.</p>
  
  <p>Checked the computer memory in the task manager. There is still some space.</p>
  
  <p>What causes this? </p>