After 'Got a signal from the OS: "terminated"' container had to restart manually

It happened today again. I will try now if these settings will help:

or this:

Do you know if --memory or --memory-swap have to be at a specific position of the run command?