Set the maximum memory to 4 Gb