Patent ID: 9652405
Date: 2017-05-16
CPC Classifications: G06F

Claim:
1. A method for managing memory, comprising: mapping a virtual address space of an application to a memory-mapped region of a non-volatile memory; collecting, during run-time execution of the application, access heuristics with regard to each page of data that is accessed by the application and cached in a page cache associated with the application; generating metadata for each cached page in the page cache associated with the application, wherein the metadata for a given cached page represents the access heuristics of the given cached page; maintaining the metadata associated with each cached page of the application in a volatile memory during run-time execution of the application; persistently storing a current state of the metadata for each cached page in the memory-mapped region of the non-volatile memory during run-time execution of the application, wherein the current state of the metadata for each cached page in the volatile memory is persistently stored in the memory-mapped region of the non-volatile memory upon each occurrence of at least one predefined event during run-time execution of the application; and accessing the current state of the persistently stored metadata from the memory-mapped region of the non-volatile memory when the application is restarted to restore the page cache associated with the application to a previous state.