Is there a way to use persistent memory instead of the volatile ram so that the state is resumed on a power loss without resorting to a UPS? Alternatively, can RAM be battery backed so that you don't lose state on power loss? I know there would be problems with currently executing code, data in CPU cache, etc...
But do some approaches already exist?
[EDIT]: Wondering about possible approaches at the OS or hardware level to enable power loss state recovery.