add option to disable compressed memory