The invention provides a cluster fine-grained
memory management method. The cluster fine-grained
memory management method includes: step 1, dividing internal storage into two
broad category regions, wherein the first category is a global shared region and responsible for allocating and recovering large objects larger than or equal to a threshold value in size, the second category comprises independent thread local caches for every thread and is used for allocating small objects smaller than the threshold value in size, the thread local cache is composed of multiple block groups, each
block group is a free chain table of an internal storage object, blocks in one
block group are identical in size, the blocks in different groups are in equal difference in size, and the global shared region comprises a small object distribution region and a global
page cache; step 2, performing memory allocation for memory applied by an application program, and starting corresponding allocation
modes after the large objects and the small objects are distinguished; step 3, releasing the memory. The cluster fine-grained
memory management method is capable of allocating and releasing the large objects and the small objects, particularly suitable for multi-thread applications and high in memory
utilization rate.