make memory and disk size overridable