How does one determine the maximum capacity of internal memory and of external storage that a device can handle?