Patent ID: 8639909

Claim:
A method comprising: determining that a number of unallocated pages of a first page size supported by an operating system is less than a page threshold, wherein the page threshold corresponds to insufficient unallocated paging space available to the operating system; determining that a first number of unallocated contiguous pages of a second page size supported by the operating system is less than a page conversion factor that indicates a number of pages of the second page size that is equivalent to one page of the first page size; identifying at least one process to which at least a second number of allocated pages of the second page size is allocated, wherein the second number corresponds to a difference between the page conversion factor and the first number, wherein the allocated pages are contiguous with the unallocated contiguous pages; determining that content of a segment of paging space that corresponds to the allocated pages of the second page size is also present in physical memory; de-allocating the segment of the paging space that corresponds to the allocated pages of the second page size from the at least one process; and aggregating the allocated pages of the second page size with the unallocated contiguous pages of the second page size to create at least a first unallocated page of the first page size.