update the java memory size to 1024