title: Object belonging to same page file?
body: <p>What is the way to figure out the that the set of objects belong to same page file or not?</p>
  
  <p>I am using virtualAlloc() to allocate and commit the memory for my test application. I am creating 200 objects. I am also decommitting the memory at runtime so that it can be used by other processes. The 200 objects that are created can be freed randomly.</p>
  
  <p>My problem is that how can I figure out that the two objects freed belong to same page file and hence if all the objects in the page file is deleted then I can decommit the memory.
  Problem is that the release of the objects are not in contiguous manner. </p>