1. A method of saving non-zero memory pages of a virtual machine, the method comprising: determining that a non-zero memory page has a known pattern; storing metadata of the non-zero memory page in persistent memory and not contents of the non-zero memory page; and storing contents of a group of other non-zero memory pages in the persistent memory.