Method and device for monitoring memory
A memory and memory leak technology, applied in digital transmission systems, data exchange networks, electrical components, etc., can solve the problem of not being able to know the appearance of memory leaks in a timely and effective manner
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] Embodiment 1, as Figure 2A As shown, a memory monitoring method is used to monitor the memory usage of the buffer pool. The specific implementation method includes steps:
[0050] Step 2A01, within a monitoring cycle, obtain the memory usage data of the buffer pool to be monitored from the memory usage data storage unit for multiple times, and store the memory usage data of the buffer pool to be monitored in the memory usage data storage unit, said The memory usage data for the buffer pools to be monitored varies with the buffer pool memory usage.
[0051] Step 2A02, comparing the memory usage data of the buffer pool acquired twice in a row, if the comparison result obtained each time is that the latter time is more than the total amount of memory used by the buffer pool in the previous time, then determine the There is a memory leak in the buffer pool.
[0052] In addition, when the total amount of memory used by the buffer pool does not increase all the time, in or...
Embodiment 2
[0059] Example 2, such as image 3 As shown, in the embodiment of the present invention, the memory usage data can be stored in the structure, and the memory usage data is marked with the variable value of the structure, and in this embodiment, the variable value of the structure varies with the total amount of memory used by the entity. increase, the embodiment of the present invention is a method for memory monitoring, which specifically includes steps:
[0060] Step 301, setting object parameters and monitoring parameters through a preset interface, wherein the serial port can be a command-line interface (CLI, command-line interface) interface;
[0061] The object parameter is used to locate the structure variable value indicating the memory usage of the entity in the structure storing memory usage data, and the object parameter specifically includes: the name of the monitored entity (the entity applies for and uses memory) and The buffer pool for which this entity applies...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com