It is unusual to run out of EEPROM. And it is not often practical to use EEPROM to offload SRAM data. But we'll mention it here for completeness. Using EEPROM requires that you include the EEPROM library.
Note that while reads are unlimited, there are a finite number of write cycles (typically about 100,000).