Fix update memory without memoryswap Upstream-commit: 8233e2b54d8c88d9c5845cbd30d54e7d5d8cb852 Component: engine