1. A method, comprising: maintaining information on computational resources consumed by tasks running in allocations of memory space in a memory, wherein the information on the computational resources is provided for each of a plurality of the tasks identified in a system task table, wherein the computational resources comprise at least one of a number of processor cycles consumed by the tasks, read and write requests initiated by the tasks, and network requests initiated by the tasks, wherein the tasks are deemed inactive if at least one of a measured resource consumption of at least one of the computational resources is below a threshold for the computational resource; in response to determining that available memory space has fallen below a memory threshold, for each of a plurality of the tasks identified in the system task table, using the information on the computational resources consumed by the tasks to determine inactive tasks of the tasks; and modifying an allocation of the memory space allocated to a determined inactive task of the determined inactive tasks indicated in the system task table, wherein the system task table indicates memory allocated to the determined inactive task after the modifying of the allocation of the memory space.