Allow customizable -Xmx ratio to container memory.