Memory allocation method and device based on data cache and storage medium
The invention discloses a memory allocation method and device based on data caching and a storage medium, the memory allocation method based on data caching comprises the following steps: in response to a processing request for to-be-processed data, removing the to-be-processed data in a cache regio...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a memory allocation method and device based on data caching and a storage medium, the memory allocation method based on data caching comprises the following steps: in response to a processing request for to-be-processed data, removing the to-be-processed data in a cache region from the cache region, and processing the removed to-be-processed data; detecting the quantity of to-be-processed data in the cache region, and judging whether the cache region is in an idle state or not; if the cache region is in the idle state, dividing the cache region to obtain a redistributable memory; and mapping the physical memory corresponding to the redistributable memory into a memory accessible to an operating system. The operating system can be used for managing the physical memory outside the preset memory, the system stability is improved, the product development cost is reduced, and the problem that the memory of equipment with few memory resources is insufficient is solved.
本申请公开了一种基于数据缓存的内存分配方法、 |
---|