Patent ID: 9424147
Filing Date: 2016-08-23
CPC Classification: G06F

Claim Text:
1. A method for supporting memory allocation control in a distributed data grid, comprising: designating a process to handle a request that is received from a client for storing data in a data storage using an elastic data structure with one or more journal files; registering, via a thread associated with the process, an amount of memory that is required for handling the request; notifying the client, via a resource manager associated with the data storage, that there is not sufficient memory for handling the request; suspending the process, via the resource manager associated with the data storage, when the elastic data structure with one or more journal files does not have sufficient memory for handling the request; notifying a collector that the elastic data structure does not have sufficient memory to handle the request, the collector being associated with the resource manager; reclaiming, by the collector associated with the resource manager, sufficient memory to handle the request; and resuming the suspended process that is associated with the client, after the collector associated with the resource manager has reclaimed sufficient memory from the elastic data structure; wherein the one or more journal files are used to record state changes associated with a sequence of modifications on the data storage of the distributed data grid, the sequence of modifications being associated with the request, the data storage comprising at least an in-memory storage device and a disk-based storage device.