CPC G06F 12/0238 (2013.01) [G06F 12/0882 (2013.01); G06F 16/284 (2019.01)] | 20 Claims |
1. A system for memory management for a database process instance, the system comprising:
a processor; and
a computer-readable medium storing instructions that are operative when executed by the processor for:
determining, based at least on the plurality of memory profiles, an aggregate memory profile, the aggregate memory profile including memory unit costs for reclaimable memory units allocated to and being used by the process instance, the memory unit costs based, at least in part, on sizes of the memory units and system times saved for the memory units,
identifying, based at least on the aggregate memory profile and the memory unit costs, a count of memory units to be reclaimed within the process instance so that a total cost is minimized to reclaim the determined count of memory units to be reclaimed,
communicating to the process instance the count of memory units to be reclaimed within the process instance, and
causing the process instance to reclaim the count of memory units.
|