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

A reminder method and device for shared memory leaks

A shared memory and target process technology, which is applied in the reminder method and device field of shared memory leaks, can solve the time-consuming and labor-intensive problems of shared memory leaks, and achieve the effect of saving time and manpower

Active Publication Date: 2021-12-24
HANGZHOU DPTECH TECH
View PDF0 Cites 0 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
  • A reminder method and device for shared memory leaks
  • A reminder method and device for shared memory leaks
  • A reminder method and device for shared memory leaks

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 present application provides a method and device for reminding shared memory leaks. A method for reminding a shared memory leak, comprising: monitoring the address space of the target process after receiving a message that the target process is successfully started; The size of the address space occupied by the shared memory, and the information of the shared memory attached to the target process; according to the size of the address space occupied by each shared memory attached to the target process, and / or the target process attached The shared memory information of the target process is used to determine whether there is a shared memory leak in the target process; if so, a reminder is given. The application can realize the automatic monitoring and reminding of the shared memory leak, so that the system administrator can find the shared memory leak 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 Patents(China)
IPC IPC(8): G06F11/32G06F11/30G06F9/50
CPCG06F9/5016G06F11/302G06F11/3055G06F11/327
Inventor 符志清
Owner HANGZHOU DPTECH TECH
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