Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Memory allocation method, device, storage medium and electronic equipment

A memory allocation and memory technology, applied in the field of communication, can solve the problems of scattered, difficult to find page frames, unable to allocate continuous memory, etc., to achieve the effect of improving efficiency

Active Publication Date: 2022-05-06
OPPO CHONGQING INTELLIGENT TECH CO LTD
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] As the system runs, after multiple allocation and release requests, the free page frames of the memory will become scattered, which makes it difficult to find physically continuous page frames when memory needs to be allocated
Once there are too many fragments, even if the total free memory pages meet the demand, but because the required continuous memory cannot be allocated, it will lead to a low success rate of memory allocation when allocating high-order continuous memory

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Memory allocation method, device, storage medium and electronic equipment
  • Memory allocation method, device, storage medium and electronic equipment
  • Memory allocation method, device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Apparently, the described embodiments are only some of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of this application.

[0031] Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those s...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present application discloses a memory allocation method, device, storage medium, and electronic equipment. In the embodiment of the present application, when a memory allocation request is received, the memory demand corresponding to the memory allocation request is determined; Whether there is a continuous free memory page matching the memory demand; when there is no continuous free memory page matching the memory demand in the memory space, determine the target memory page and the neighborhood range of the target memory page; Release the non-free memory pages within the range of the neighborhood of the target memory page to obtain continuous free memory space; respond to the memory allocation request based on the continuous free memory space, the scheme passes the free memory pages around A certain range of non-free pages is released to form continuous free memory pages, which can meet the memory application requirements and improve the efficiency of memory allocation.

Description

technical field [0001] The present application relates to the technical field of communications, and in particular to a memory allocation method, device, storage medium and electronic equipment. Background technique [0002] All programs in the computer run in the memory, and the memory is also a medium for temporarily storing the calculation data in the central processing unit and exchanging data with external storage such as external disks. Therefore, the use of memory has a very large impact on computer performance. This is especially true for embedded terminals. The Android system is an operating system based on the Linux kernel for mobile terminals, and all available memory is limited to the system random access memory. [0003] As the system runs, after multiple allocation and release requests, the free page frames of the memory will become scattered, which makes it difficult to find physically continuous page frames when memory needs to be allocated. Once there are ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F12/02G06F12/1009
CPCG06F12/0253G06F12/1009G06F12/023
Inventor 周华材
Owner OPPO CHONGQING INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products