added apply memorysplit