Changing memory size throu provider