Because OH2 did not persist items per default like OH3 does.
You sort of already did as apparently you installed the RPi on your own (and you failed telling us relevant details such as which OS) rather than to go with the recommendation (openHABian that is). ZRAM is standard in openHABian but not recommended to setup on its own outside of that.