Supercharge Your Innovation With Domain-Expert AI Agents!

Memory management method and device

A memory management and memory technology, applied in the computer field, can solve problems such as affecting users' use and failure of electronic equipment functions, and achieve the effect of increasing flexibility and reducing load

Pending Publication Date: 2020-03-06
HUAWEI TECH CO LTD
View PDF8 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this case, due to the forced termination of part of the program, some functions of the electronic device will become invalid, which will affect the user's use.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings and specific implementation methods. In the following, some terms used in the embodiments of the present application are explained, so as to facilitate the understanding of those skilled in the art.

[0060] 1) The electronic device may specifically be a terminal device or a server-type terminal device. Specifically, the terminal device may be any computer system or device among various types of computer systems or devices that are mobile or portable and perform wireless communication. Examples may include mobile phones or smart phones (such as iPhone TM , based on Android TM phones), portable gaming devices (e.g., Nintendo DS TM 、PlayStation Portable TM 、Gameboy Advance TM 、iPhone TM ), laptops, pe...

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. The method comprises the following steps of firstly, detecting remaining memory space of a memory of electronic equipment; and then, determining whether the residual memory space is less than or equal to a first threshold, if the residual content space is less than or equal to the first threshold, migrating part of data in the memoryto an external memory of the electronic equipment, and releasing the memory space occupied by part of data migrated to the external memory. A part of data in the memory is migrated to the external memory and the memory space occupied by the part of data is released; thus, the remaining memory space of the memory can be enlarged without forcibly ending the running application programs, so that thesituation that the kernel forcibly ends part of the programs due to the fact that the remaining memory space is too small can be avoided, and all the running programs can be kept alive.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a memory management method and device. Background technique [0002] Memory is one of the important components in electronic equipment, and all programs in electronic equipment run in memory. That is to say, when the electronic device wants to run a certain program, it first reads the relevant data corresponding to the program into the memory, and then runs the program according to the relevant data in the memory. [0003] However, the size of the memory in the electronic device is limited. For example, the size of the memory is usually only 1 gigabyte (GB) or 2GB. When the remaining memory space of the memory in the electronic device is small, the electronic device will trigger a cleaning mechanism to force End some programs running in memory (for example, programs with lower priority), and release the memory occupied by this part of programs. In this case, because...

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
IPC IPC(8): G06F9/50G06F12/02
CPCG06F9/5016G06F9/5022G06F12/0246
Inventor 陈亮黄昌华鲁涛
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More