adjust memory requirements