Resizing memory config.