Fixed slice editing to only allow a max of available memory because there is a higher chance that this will work.