Minimum memoryswap limit should be larger than memory limit, see usage

Hi,
I have a container deployed and working, Duplicati, which has a memory limit set of 512MB. I was getting some memory alerts on my NAS relating to process mono-sgen which stops when i stop this container.

As a result i went to change the allocated memory for the container from 512 to 1024, however, when i deploy the container it says:-

Failure
Minimum memoryswap limit should be larger than memory limit, see usage

I believe this is because my swap allocation should be greater than memory from a bit of uneducated googling but i cant see how to configure the swap allocation anywhere, assuming my assumption is correct.

Can anyone shed any light on this for me please?

This seems to be a docker container configuration issue, not a Duplicati issue per se. How did you initially configure the container? Did you use docker compose or something else?