1. A method, comprising: maintaining information on computational resources consumed by tasks running in a computer system allocated memory space in a memory, wherein the tasks are identified in a system task table; 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 at least one of determined inactive tasks.