Increased memory in .wslconfig file not detected by Ubuntu or docker

WSL2 Version:
Kernel-Version :
Distro Version: Ubuntu 22.04
Docker version 24.0.5, build 24.0.5-0ubuntu1~22.04.
Free space on my laptop : 98.5GB

I want to run fMRIprep and MRIQC images in docker. The default is set to 7G. I am trying to increase this limit through .wslconfig file.

  1. I built the .wslconfig txt file in C:\Users\myprofile.wslconfig as follows:
  1. Saved it as .txt UTF w/o BOM LF line ending style
  2. In Windows Powershell, I ran wsl --shutdown
  3. Restarted Ubuntu, ran free -mh and did not see change in total memory

total used free shared buff/cache available
Mem: 7.7Gi 433Mi 6.7Gi 3.0Mi 551Mi 7.0Gi
Swap: 2.0Gi 0B 2.0Gi

This is preventing me form proceeding. Could you help?

In the title: “not detected by Ubuntu or Docker”

Since Docker is running on Ubuntu (WSL2 distribution), Docker is not really relevant here.

Is it really the file or you forgot the backslash before the filename?