×

Memory allocation buffer for reduction of heap fragmentation

  • US 9,128,949 B2
  • Filed: 01/18/2013
  • Issued: 09/08/2015
  • Est. Priority Date: 01/18/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method for reducing overall delays caused by garbage collection processes due to memory fragmentation in a region server hosting a plurality of regions for a distributed database system, the region server maintaining a heap in the region server'"'"'s memory, the method comprising:

  • implementing, at the region server, an in-memory store for each region, wherein the in-memory store for each region is to hod data to be written until the data reaches a predetermined size and flush the data to a storage when the predetermined size is reached;

    receiving a write request from a client, wherein the write request includes a target region and an data object for insertion into the target region;

    creating, in the heap, a memory arena dedicated to the target region by allocating one space of a select size in the heap; and

    storing the data object in a space in the memory arena at a location that is continued from a previous location such that, when an in-memory store for the target region flushes the data it holds, the space freed from the memory arena dedicated to the target region is contiguous.

View all claims
  • 5 Assignments
Timeline View
Assignment View
    ×
    ×