Calculate the required memory