Self-adaptive cluster memory management method and server clustering system

The invention relates to a self-adaptive cluster memory management method and a server cluster. The self-adaptive cluster memory management method includes steps as follows: before each data server in a data server cluster is used, memory pre-distribution is performed on the data servers in a variable-step additional increase manner; and a memory is divided into a set number of fragment groups, the total capacity of each fragment group is equal, and each fragment group comprises a plurality of fragments with equal capacities. The self-adaptive cluster memory management method adopts an optimized model memory pre-distribution strategy, so that reasonable fragment distribution of the memory is guaranteed, the access efficiency of the memory is improved, and memory fragmentsarealso reduced. Besides, the self-adaptive cluster memory management method can perform self-adaptive adjustment on the memory, so that the self-governing capacity and the stability of the memory are improved greatly.