Yah. I thought that initially. The issue pinned is, as the application can run for long, Might not be good idea to keep data volatile.
Here,even if application crashes data is intact and recoverable.