I'm working a chrome extension development. I stored some data on Chrome using chrome.storage. Sometimes, my mac uses too much memory and I will just force to close all the apps and restart macOS to free the memory. It took a long time for my mac to restart. So I press the power button to reboot my mac. Later I successfully login to my system. It turned out that my data store in chrome via chrome.storage is lost.
Do you know what happened? How do I avoid this kind of issue?