https://rancher.com/ logo
Title
s

swift-rainbow-28443

01/20/2023, 5:08 AM
Hi Team, How do we adjust the virtual memory in rancher desktop ?
[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
Not getting this error on Docker Desktop though. Anyone can point me to right direction it will be a great help. Thanks,
1
By the way this is on Mac. I can see a few things which we can try for windows+wsl but can’t find anything for mac
Found it To add the following in
~/Library/Application\ Support/rancher-desktop/lima/_config/override.yaml
file.
provision:
  - mode: system
    script: |
      #!/bin/sh
      set -o xtrace
      sysctl -w vm.max_map_count=262144
w

witty-jelly-95845

01/20/2023, 10:33 PM
FYI there's a #rancher-desktop channel
👍 1
k

kind-iron-72902

04/18/2023, 8:37 PM
Also see the Preferences:
Virtual Machi e| Memory (GB)