Configuration Files for Windows Sandbox Documentation - https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-sandbox/windows-sandbox-configure-using-wsb-file
Windows Sandbox VM to 8 GB memory
Memory in MB: Specifies the amount of memory that the sandbox can use in megabytes (MB). value If the memory value specified is insufficient to boot a sandbox, it will be automatically increased to the required minimum amount.