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

A memory management method and device

A memory management and memory technology, applied in the computer field, can solve problems affecting user experience, application killing, simple and rude, etc., and achieve the effect of rational memory management, process protection, and expansion of memory space

Active Publication Date: 2018-01-16
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main defect of the above-mentioned existing memory management method is that it is too simple and rude. The reason is that if the system adopts this method, many applications will be killed because the memory is too low when the user uses a smart terminal such as a smart phone. It is even killed by mistake, which greatly affects the user experience

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
  • A memory management method and device
  • A memory management method and device
  • A memory management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040]In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0041] An embodiment of the present invention provides a memory management method, the method comprising: acquiring swap memory to be swapped to a designated area in the memory, the size of the swap memory being M swap Using the exchange constraint f swap characterized and with the f swap Proportional; according to the free memor...

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 invention discloses a memory management method and device, which can reclaim the memory at an appropriate time and improve the efficiency of memory management. The method includes: acquiring the swap memory to be swapped to a defined area in the memory, the size Mswap of the swap memory is characterized by a swap constraint factor fswap and is proportional to fswap; according to the free memory threshold or the free memory threshold and the process importance evaluation relationship, calculate the swap restriction factor f'swap when the free memory threshold is Mf; when the free memory of the system is less than Mf, compress the swap memory represented by the swap restriction factor f'swap, and swap the data in the compressed swap memory to the designated fixed area. On the one hand, the method provided by the present invention is more rational, so that the process will not be killed by mistake; on the other hand, when the free memory of the system is less than Mf, the swap memory represented by the calculated swap constraint factor f'swap compressed can be stored in the memory When it is insufficient, it can not only expand the memory space, but also effectively protect the process.

Description

technical field [0001] The invention belongs to the field of computers, and in particular relates to a memory management method and device. Background technique [0002] Memory management refers to the technology of allocating and using computer memory resources when the software is running. Its main purpose is how to efficiently and quickly allocate and release and reclaim memory resources at an appropriate time. Some processes, so that part of the memory resources can be reclaimed. With the advent of the era of 3G and smart phones, there are more and more applications on smart terminals such as smart phones. Smart terminals such as smart phones adopt multi-tasking operating systems and can run multiple tasks at the same time. In order to improve the multitasking user experience, smart terminals such as smartphones are equipped with large-capacity memory. However, the increase of memory capacity is limited by cost, power consumption, volume, etc., and memory resources 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): G06F9/50G06F12/02
Inventor 曾元清
Owner GUANGDONG OPPO MOBILE TELECOMM CORP 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