1.
capacity, volume
The maximum amount that something can contain or hold.
2.
storage capacity
The amount of data that can be stored on a device.