Methods, systems, and media for managing dynamic memory are disclosed.
Embodiments may disclose identifying nodes with having memory for dynamic
storage, and reserving a portion of the memory from the identified nodes
for a heap pool. After generating a heap pool, embodiments may allocate
dynamic storage from the heap pool to tasks received that are associated
with one of the identified nodes. More specifically, embodiments identify
the node or home node associated with the task, the amount of dynamic
storage requested by the task, and create a heap object in the node
associated with the task to provide the requested dynamic storage. Some
embodiments involve de-allocating the dynamic storage assigned to the
task upon receipt of an indication that the task is complete and the
dynamic storage is no longer needed for the task. Several of such
embodiments return the de-allocated dynamic storage to the heap pool for
reuse.