Methods, systems, and media for managing dynamic storage
First Claim
1. A method for managing memory, the method comprising:
- identifying a plurality of nodes each having a respective processor and respective memory for heap storage;
reserving the heap storage from the memories of the nodes in a heap pool, the heap pool comprising;
a description of nodes having memory for heap storage;
a description of available memory for heap storage;
a description of memory being used for heap storage; and
control information for managing heaps;
receiving a request from an application for heap storage, the request being associated with a at least one node of the plurality of nodes, the association between the request and the at least one node being defined in a task node association data structure of the application; and
allocating a portion of the heap storage from the heap pool to the request based upon the association between the request and the at least one node as defined in the task node association data structure.
1 Assignment
0 Petitions
Accused Products
Abstract
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.
60 Citations
8 Claims
-
1. A method for managing memory, the method comprising:
-
identifying a plurality of nodes each having a respective processor and respective memory for heap storage; reserving the heap storage from the memories of the nodes in a heap pool, the heap pool comprising; a description of nodes having memory for heap storage; a description of available memory for heap storage; a description of memory being used for heap storage; and control information for managing heaps; receiving a request from an application for heap storage, the request being associated with a at least one node of the plurality of nodes, the association between the request and the at least one node being defined in a task node association data structure of the application; and allocating a portion of the heap storage from the heap pool to the request based upon the association between the request and the at least one node as defined in the task node association data structure. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
Specification