US 11,726,905 B2
Memory management for multiple process instances
Manoj Syamala, Issaquah, WA (US); Vivek Narasayya, Redmond, WA (US); Junfeng Dong, Sammamish, WA (US); Ajay Kalhan, Redmond, WA (US); Shize Xu, Redmond, WA (US); Changsong Li, Bellevue, WA (US); Pankaj Arora, Sammamish, WA (US); Jiaqi Liu, Bellevue, WA (US); John M. Oslake, Seattle, WA (US); and Arnd Christian König, Kirkland, WA (US)
Assigned to Microsoft Technology Licensing, LLC, Redmond, WA (US)
Filed by Microsoft Technology Licensing, LLC, Redmond, WA (US)
Filed on Jan. 21, 2021, as Appl. No. 17/155,014.
Application 17/155,014 is a continuation of application No. 16/428,910, filed on May 31, 2019, granted, now 10,936,480.
Prior Publication US 2021/0141720 A1, May 13, 2021
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 12/00 (2006.01); G06F 12/02 (2006.01); G06F 16/28 (2019.01); G06F 12/0882 (2016.01)
CPC G06F 12/0238 (2013.01) [G06F 12/0882 (2013.01); G06F 16/284 (2019.01)] 20 Claims
OG exemplary drawing
 
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.