title: SQL Server 2012 OUT OF MEMORY error messages
body: <p>I am trying to trying to run some insert code(about 40,000 of them) using SSMS but I keep running up against SQL out of memory errors among others. I would appreciate any help to fix this problem please. </p>
  
  <p><img src="https://i.stack.imgur.com/DnWKY.png" alt="**Error message that shows up when I try to run my query**"></p>
  
  <p><img src="https://i.stack.imgur.com/ubi9p.png" alt="**Another SQL Error message that showed up as well**">
  <img src="https://i.stack.imgur.com/EjIHD.png" alt="Database Property"></p>