title: Deploying SSDT project through Powershell Script: Version store out of memory error
body: <p>Hoping someone may be able to advise what might be happening here.
  I am attempting to run an SSDT deployment via a Powershell script directly on the SQL Server its-self.</p>
  
  <p>SQL Version: 2012 (upgrade not possible at the moment)</p>
  
  <p>Exact error:</p>
  
  <blockquote>
    <p>System.Management.Automation.MethodInvocationException:  Exception
    calling "GenerateDeployScript" with "3" argument(s): "Version store
    out of memory (cleanup already attempted)"
    Microsoft.Isam.Esent.Interop.EsentVersionStoreOutOfMemoryException:
    Version store out of memory (cleanup already attempted)</p>
  </blockquote>
  
  <p>All my research on the web has solutions for when this occurs through MSBuild, however I have no-where to apply the fix for this process as it happens outside of the build process.</p>
  
  <p>Can anyone advise how one might prevent this from occuring?
  Thanks :)</p>