Memory management method and device

The embodiment of the invention provides a memory management method and device. The memory management method comprises the steps that a memory release request for a target virtual machine is received; determining at least one to-be-released memory block corresponding to the target virtual machine in...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: WANG YANGJIE, ZHAO SANQIAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention provides a memory management method and device. The memory management method comprises the steps that a memory release request for a target virtual machine is received; determining at least one to-be-released memory block corresponding to the target virtual machine in response to the memory release request, and determining memory block attribute information corresponding to each to-be-released memory block; determining the to-be-released memory blocks with the first type of memory block attribute information as first type of to-be-released memory blocks; and releasing the memory of the first type of memory blocks to be released by adjusting the refreshing configuration parameters of the first type of memory blocks to be released. Through the method, the memory can be quickly released and reset by controlling the refresh frequency of the first type of memory blocks to be released, and meanwhile, by adjusting the refresh frequency of the memory blocks to be released, few resource