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 storage and not contents of the non-zero memory page, the metadata including sufficient data for the contents of the non-zero memory page to be regenerated solely from the metadata; and storing contents of a group of other non-zero memory pages in the persistent storage.