Check patentability & draft patents in minutes with Patsnap Eureka AI!

Memory recovery method, apparatus and device, and medium

A memory recovery and memory leak technology, applied in the field of memory management, can solve problems such as memory leaks

Inactive Publication Date: 2020-03-03
GUANGZHOU XIAOPENG MOTORS TECH CO LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a memory recovery method, device, equipment and medium, which are used to solve the memory leak problem caused by the system being in the running state for a long time

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 recovery method, apparatus and device, and medium
  • Memory recovery method, apparatus and device, and medium
  • Memory recovery method, apparatus and device, and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The specific implementation manners of a memory reclamation method, device, equipment, and medium provided by the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0040] It should be noted that the memory reclamation solution provided by the embodiment of the present invention is not only applicable to the android system used in the vehicle central control system, but also applicable to other android systems that have been running for a long time or other operating systems with memory leaks.

[0041] Such as figure 1 As shown, the memory recovery method provided by the embodiment of the present invention may include the following steps:

[0042] Step 101, obtain the process identification and the actual physical memory used by each process in the running state in the system.

[0043] Wherein, the process identifier is used to uniquely identify each process, and the process identifiers of different pro...

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 invention discloses a memory recovery method and device, equipment and a medium, which are used for solving the problem of memory leakage caused by the fact that a system is in an operating state for a long time. The memory recovery method comprises the steps of obtaining a process identifier and an actual use physical memory of each process in a running state in a system; onthe basis of a pre-configured memory leakage level table, the memory leakage level of each process is determined according to the obtained actual use physical memory of each process, and the memory leakage level table comprises corresponding relations among process identifiers, memory leakage thresholds and memory leakage levels; and closing part or all of the processes of which the memory leak levels are greater than a first preset level threshold.

Description

technical field [0001] The present invention relates to the technical field of memory management, in particular to a memory recovery method, device, equipment and medium. Background technique [0002] At present, more and more in-vehicle central control systems use the Android system. In practical applications, in order to instantly respond to various control operations (for example, remote control), the in-vehicle central control system generally does not shutdown. [0003] Due to the defects of the memory management of the android system, if the android system is running for a long time, its memory leak problem will be difficult to be repaired. There are some methods for detecting memory leaks in the prior art. These methods usually involve complex calculations and logic processing when detecting memory leaks, and bring additional overhead to the system. [0004] Therefore, there is an urgent need for a memory recovery method to solve the problem of memory leaks caused b...

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): G06F12/02G06F9/445
CPCG06F9/44594G06F12/0253
Inventor 邓太平
Owner GUANGZHOU XIAOPENG MOTORS 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