Apparatus, methods and computer program products are disclosed to improve
allocation of physical memory in a memory limited device when the amount
of unallocated memory approaches a threshold. In this situation the
disclosed technology will identify memory pages that have substantially
the same content, identify the process-contexts that map to the
identified memory pages, remap these process-contexts to one of the
identical memory pages, recycle all of the other identical memory pages
to increase the amount of unallocated memory, and conditions the
process-contexts to appropriately trap accesses to the mapped page.