Capacity is the abstract of capax, receiving or apt to hold ; it is therefore applied to the contents of hollow bodies : capaciousness is the abstract of capacious and is therefore applied to the plane surface comprehended within a given space. hence we speak of the capacity of a vessel; and the capaciousness of a room.
Source: wiktionary