Qbittorrent keeps restarting

Hi. I am new to TrueNAS (and linux whatsoever for that matter). qbittorrent randomly crashes and restarts itself. Can someone help pointing me to the right direction?

It keeps getting “Catching signal: SIGTERM”

System is:

Motherboard: Gigabyte Aorus GA-Z270X
CPU: i7 - 7700
Memory: 64 GB DDR4 (non ECC)
PSU: 1300W Gigabyte UD1300GM Gold 80+
1 Pool Raidz3 16 wide with 1 TB drives
1 Pool Raidz1 4 wide with 4 TB drives
1 Pool Mirrored 2 wide with 3 TB drives
1 Pool Mirrored 2 wide with 500gb nvmes for docker containers

Something is telling qbittorrent to stop hogging resources. How did you install it and where?

Cannot help much more than that, someone with more knowledge will hopefully pass by: answering my questions will let them help you better

Edit: I assume it’s docker. See Docker: container restarting due to `Catching signal: SIGTERM` · Issue #19817 · qbittorrent/qBittorrent · GitHub.
Setting to restart: unless-stopped apparently mitigates the issue, although I believe to be an OOM issue… increasing the RAM available to the container should help.