builds &lt; 20175 or for more fine grained control, create C:\Users\&lt;username>\<a href=https://docs.microsoft.com/en-us/windows/wsl/wsl-config target=_blank rel="noopener noreferrer">.wslconfig</a>. Suggested contents on a 32GB machine (increase memory as needed):</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#d6deeb;--prism-background-color:#011627><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-text codeBlock_bY9V thin-scrollbar"