Shared memory leak reminding method and device

A shared memory and target process technology, applied in the field of shared memory leak reminder methods and devices, can solve the problem of shared memory leaks being time-consuming and labor-intensive, and achieve the effect of saving time and manpower

Active Publication Date: 2018-07-27
HANGZHOU DPTECH TECH
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This will make identifying shared memory leaks more time-consuming and laborious

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
  • Shared memory leak reminding method and device
  • Shared memory leak reminding method and device
  • Shared memory leak reminding method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0024] The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term...

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 application provides a shared memory leak reminding method and device. The shared memory leak reminding method includes: after a message about successful start of a target process is received, monitoring address space of the target process; acquiring, according to the monitoring results, sizes of address spaces used by shared memories attached to the target process in the address space, and information of the shared memories attached to the target process; judging whether the target process experiences a shared memory leak according to the sizes of the address spaces used by shared memories attached to the target process in the address space, and the information of the shared memories attached to the target process; if yes, providing a reminder. The shared memory leak reminding methodand device can provide automatic monitoring and reminding for shared memory leaks so that a system administrator may find the shared memory leaks in time.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method and device for reminding shared memory leaks. Background technique [0002] In a multi-process operating system, multiple processes often need to share data. Usually, a shared memory method can be used to enable multiple processes to share data in the same memory. After a process creates a shared memory, if other processes need to use the data in the shared memory, they can map the shared memory to their own address space, that is, attach the shared memory. When the use is completed, unattach the shared memory. Can. [0003] However, due to programming defects, a process may attach to the same shared memory multiple times, but does not detach the attachment after using the shared memory, which is called a shared memory leak. Moreover, when a process attaches to the same shared memory multiple times, the shared memory will occupy different locations in the a...

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 Applications(China)
IPC IPC(8): G06F11/32G06F11/30G06F9/50
CPCG06F9/5016G06F11/302G06F11/3055G06F11/327
Inventor 符志清
Owner HANGZHOU DPTECH TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products