<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>wsl on Robert Rumpf</title>
    <link>/tags/wsl/</link>
    <description>Recent content in wsl on Robert Rumpf</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 23 Jun 2021 19:22:47 +0200</lastBuildDate>
    
	<atom:link href="/tags/wsl/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Improve WSL2 ressource management for windows</title>
      <link>/posts/2021/06/improve-wsl2-ressource-management-for-windows/</link>
      <pubDate>Wed, 23 Jun 2021 19:22:47 +0200</pubDate>
      
      <guid>/posts/2021/06/improve-wsl2-ressource-management-for-windows/</guid>
      <description>Shutdown your running wsl.
wsl --shutdown Going to c:\users*your your profile name* and creating a .wslconfig file or do it via powershell ;-)
notepad &amp;quot;$env:USERPROFILE/.wslconfig&amp;quot; [wsl2] memory=4GB # Limits VM memory in WSL 2 to 4 GB processors=5 # Makes the WSL 2 VM use two virtual processors swap=0 localhostForwarding=true After that start Powershell with admin permissions, restart WSL2 by typing:
Restart-Service LxssManager  Drop Cache variable for WSL
create this alias at the end of your ~/.</description>
    </item>
    
  </channel>
</rss>