title: How exactly can i troubleshoot MEMORY_ALLOCATION_EXT waits?
body: <p>We have a server environment in SQL Server 2016. The Server is virtualized meaning it shares its memory and cpu.</p>
  
  <p>Lately if heavily under stress i.e. sorts building hashtables etc. we see heavy growth of memory usage that was expectable.</p>
  
  <p>However we see many </p>
  
  <pre><code>MEMORY_ALLOCATION_EXT 
  
  RESERVED_MEMORY_ALLOCATION_EXT
  </code></pre>
  
  <p>Waits.</p>
  
  <p>So the server had enough memory and we also doubled the memory recently but still the memory waits remain. </p>
  
  <p>From monitoring the server state it doesn't seem it needs more memory but what would you suggest can be the cause of those waits?</p>