Change memory settings into Docker way