Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

53 results about "Memory leak detection" patented technology

You can use some techniques in your code to detect memory leak. The most common and most easy way to detect is, define a macro say, DEBUG_NEW and use it, along with predefined macros like __FILE__ and __LINE__ to locate the memory leak in your code.

Component memory leak detection method and device, computer equipment and storage medium

The invention relates to a component memory leak detection method and device, computer equipment and a storage medium. The method comprises the following steps: when a component creation event of a to-be-detected component is detected, generating a first heap snapshot corresponding to the component creation event of the to-be-detected component, and when a component destruction event of the to-be-detected component is detected, generating a second heap snapshot corresponding to the component destruction event of the to-be-detected component; analyzing the first heap snapshot and the second heap snapshot, and determining target structured data; component instance nodes are determined, and an information mapping table between node unique identifiers and node information of the component instance nodes is constructed; determining candidate memory leak components according to the information mapping table; and determining a target memory leak component from the candidate memory leak components according to the component-created document object model and the component-destroyed document object model of the candidate memory leak components. And the identification precision of the component memory leak scene is improved.
Owner:ZHEJIANG BANGSUN TECH CO LTD

Memory leak detection method and device, equipment and storage medium

The invention discloses a memory leak detection method and device, equipment and a storage medium, and the method comprises the steps: regularly reading the total memory usage amount at the current moment according to a preset detection frequency, and calculating the memory usage proportion at the current moment according to the total memory usage amount; if the memory use proportion is greater than a proportion threshold value, shooting a heap snapshot at the current moment; obtaining a historical heap snapshot; comparing the heap snapshots at the current moment with historical heap snapshots to identify one or more suspected leakage points; and analyzing the reference relationship of each leakage suspected point to determine each leakage node. According to the method, the macroscopic memory use proportion and the specific microcosmic structure of the heap snapshots are effectively associated, suspected abnormally increased or unreleased objects in the time dimension are accurately captured through comparison information of the heap snapshots, then code roots causing leakage are traced through the reference relation, the leaked nodes are accurately determined, and the leakage efficiency of the heap snapshots is improved. Compared with a manual operation mode in the prior art, efficiency and accuracy are greatly improved.
Owner:创优数字科技(广东)有限公司

Memory leak detection method and device based on Vue framework and medium

The invention discloses a memory leak detection method and device based on a Vue framework and a medium, belongs to the technical field of memory leak detection, and is used for solving the technical problems that an existing memory leak solution cannot accurately identify and position a source of memory leak, cannot provide an effective optimization strategy and is poor in stability and performance of a Vue.js application. The method comprises the following steps: regularly obtaining memory usage data of a Vue application, and carrying out memory usage monitoring on the Vue application based on the memory usage data; when the memory occupancy exceeds a first preset threshold value, performing memory recovery on the memory of the Vue application; performing memory leak detection on the Vue application through a memory analyzer; and when memory leak occurs, recovering the isolated object in the Vue application so as to automatically repair the memory.
Owner:SHANDONG INSPUR SCI RES INST CO LTD

Memory leak detection method and device, electronic equipment and storage medium

The invention discloses a memory leak detection method and device, electronic equipment and a storage medium, and relates to the technical field of big data or other related fields, and the method comprises the steps that in the execution process of a target process, a memory event of the target process is monitored, and a monitoring result is obtained, the memory event is used for indicating the change conditions of the virtual memory and the physical memory; establishing a virtual memory allocation table and a physical memory allocation table based on a monitoring result; based on a preset detection rule, the virtual memory allocation table and the physical memory allocation table are compared to obtain a comparison result, and the comparison result is used for recording R stack identifiers; and taking R call stacks corresponding to the R stack identifiers as suspected leak memories, and generating a memory leak detection result. According to the method and the device, the technical problem that the memory leak cannot be effectively detected when the Java program runs due to the fact that the monitoring and analysis capability on the Java memory object is insufficient in the related technology is solved.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Memory leak detection method and device, equipment and storage medium

PendingCN121958140AReduce switching delayReduce data call frequencyInterprogram communicationMemory adressing/allocation/relocationOperational systemMemory footprint
The embodiment of the invention provides a memory leak detection method and device, equipment and a storage medium, and relates to the technical field of operating systems and performance tuning. The method comprises the following steps: monitoring memory allocation and release operation of a process by adopting a probe program; collecting memory use information of a stack of the process on memory allocation and release operation; through a collaborative caching mechanism of a kernel mode and a user mode, sharing memory use information to the user mode, and analyzing the memory use information in the user mode to obtain a comprehensive hotspot score representing a memory occupation growth trend of a stack; and determining whether the stack has memory leak according to the comprehensive hotspot score. Based on the method, whether the memory leaks or not can be accurately detected under the condition of low performance overhead.
Owner:ECARX (HUBEI) TECHCO LTD

Memory allocation system with memory monitoring and early warning system

The invention discloses a memory allocation system with a memory monitoring and early warning system, and relates to the technical field of memory management. Comprising a memory pool management module, a memory pool debugging module, a memory monitoring and early warning module, a memory leak detection module, a dual release detection module, a memory usage amount statistics module and a wild pointer positioning module. By integrating the memory pool management module, the debugging module and the monitoring and early warning module, memory management in the embedded system is optimized, the system can dynamically allocate memories, record operation, monitor abnormal use of the memories in real time and position the problems of memory leakage, wild pointers and the like, the safety and efficiency of memory use are improved, the positioning and solving of the problems are accelerated, and the system is suitable for large-scale popularization and application. And the system stability is enhanced.
Owner:GUANGZHOU SENYANG ELECTRONIC TECH CO LTD

Periodic memory leak detection method, apparatus and system

The application provides a detection method, device and system applied to periodic memory leakage, the method is applied to a first electronic device, a full pointer list is generated by counting memory application, containing a first feature and a second feature. Records with the same second feature are divided into sub-pointer lists, and then a target pointer list set with regularly increasing time stamps is determined. Through a communication protocol with a second electronic device, the target pointer list and memory data are transmitted to identify memory leakage pointer values. The first electronic device can effectively screen and transmit the target pointer list and memory data to the second electronic device, the method concentrates on analyzing the pointer list with regularly increasing time stamps, the regularly increasing time stamps are obvious signs of periodic memory leakage, the accuracy and efficiency of detection are improved, and specific analysis is performed on the second electronic device side, thereby reducing the operation pressure of the first electronic device and ensuring the operation efficiency of the first electronic device.
Owner:HANGZHOU TUYA INFORMATION TECH CO LTD

Automatic memory leak detection

Automatic memory leak detection is presented herein. An example method comprises, receiving, into a data slot of a defined data structure, a flow of memory usage data sent by a resource monitoring process operational on the system, in response to determining a time value exceeding a defined threshold time value, closing the data slot, based on the memory usage data included in the data slot, executing a trend analysis process using the memory usage data as an input to the trend analysis process, and in response to the trend analysis process determining a trend associated with the memory usage data, transmitting notification data representing the trend and recommendation data representing a suggestion to reverse the trend to a user equipment.
Owner:DELL PROD LP

Method, device and equipment for intelligently detecting gateway memory leak and medium

The invention provides a method, device and equipment for intelligently detecting gateway memory leak and a medium, and the method comprises the steps: deploying a lightweight AI prediction model at a main gateway, and carrying out the online learning of a memory leak mode and real-time reasoning; the slave gateway collects memory data, preprocesses the memory data, generates a memory change trend vector by adopting a dynamic sliding window, and transmits the memory change trend vector to the master gateway; the main gateway analyzes the memory change trend vector transmitted by the slave device in real time through an AI prediction model, identifies a potential leakage mode of the memory change trend vector, and performs graded early warning on an identification result; constructing a lightweight graph neural network to analyze a memory dependency relationship, evaluating a repair measure influence range, and dynamically selecting an optimal repair strategy for equipment needing to be repaired according to a historical repair effect in combination with a reinforcement learning model; and regularly carrying out data statistics and generating a whole-network visual predictive report. According to the invention, memory leak detection, classified statistics and intelligent alarm of the master / slave gateway can be realized, and the network stability is improved.
Owner:FUJIAN XINGWANG INTELLIGENT SOFTWARE CO LTD

A method for locating memory leaks

ActiveCN119149285BResource allocationHardware monitoringMemory profilingTerm memory
The present invention discloses a method for locating memory leaks, which relates to the field of computer science and technology. The method includes initializing a memory usage monitoring module, setting an initial memory usage rate threshold, and defining a threshold adjustment parameter. It monitors the CPU utilization rate and memory usage in real time, records historical data, and establishes a memory usage trend model. When the CPU utilization rate exceeds the set threshold, it reduces the first preset threshold and adjusts the second preset threshold according to the memory usage trend, comprehensively adjusting the memory usage rate threshold. When the memory usage rate exceeds the first preset threshold, it starts memory leak detection, uses a hash table to record memory allocation and release information, and searches for unreleased memory. It analyzes the system logs and behavior records before and after the memory leak, constructs a causal relationship model, adjusts the memory usage rate threshold, and generates a report containing the location of the memory leak and its cause analysis. The present invention better improves the predictability and accuracy of memory management and enhances the adaptive ability of the system.
Owner:深圳市云希谷科技有限公司

Memory leak detection method and device, equipment, medium and computer program product

The invention provides a memory leak detection method, device and equipment, a medium and a computer program product, and relates to the technical field of computers, in particular to the field of cloud computing. According to the specific implementation scheme, at least one second memory page which is not counted by an operating system is obtained from distributed first memory pages, and the second memory page is a memory page applied by a process for calling a drive program; memory allocation information corresponding to any second memory page is obtained, wherein the memory allocation information is used for indicating a calling path of the driving program; determining the memory occupation amount of any calling path based on the memory allocation information; and performing memory leak detection on the operating system based on the memory occupancy of any calling path.
Owner:BEIJING BAIDU NETCOM SCI & TECH CO LTD

Memory leak detection method and device

The present invention discloses a memory leak detection method and device, relating to the field of computer technology. A specific implementation of the method includes: upon entering a page to be detected in an application, initializing a view controller and at least one view of the page to be detected, and storing characteristic information of the view controller and the view in a pre-established weak reference set; after exiting the page to be detected, determining whether a memory leak has occurred in the page to be detected based on the information currently stored in the weak reference set. This implementation can quickly determine whether a memory leak has occurred in the page to be detected in an application.
Owner:BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1

Memory leak detection and analysis method, system, equipment and medium

The invention provides a memory leak detection and analysis method, system and device and a medium, and belongs to the technical field of memory detection. Memory use data based on an application program is obtained and stored; based on a memory analysis module, analyzing the memory use data, and identifying a memory leak position and memory leak data; key information of the memory leak data is extracted, and a memory leak data report is generated; and displaying the memory usage amount and the leakage mode through a graphical interface. According to the method, the existing memory leak detection technology is highly fused, and the advanced visual analysis technology is adopted, so that the detection accuracy and efficiency are improved, the security of the system is enhanced, and an efficient, convenient and reliable memory leak solution is provided for a user.
Owner:SHANDONG CHAOYUE DATA CONTROL ELECTRONICS CO LTD

Memory leakage processing method and device, storage medium and electronic equipment

Embodiments of the present application disclose a memory leakage processing method and device, a storage medium and an electronic device. The method comprises: collecting all objects held by a view controller when the view controller disappears, determining target objects with memory leakage from all the objects, and sending a target message indicating that the target objects have memory leakage to a server based on the target objects. The scheme expands the detection range of memory leakage and improves the detection coverage, can more comprehensively detect objects with memory leakage, and uploads the collected memory leakage information to the server and distributes it to relevant personnel for processing, avoiding the impact of memory leakage detection in the testing stage.
Owner:SHENZHEN YISHIHUOLALA TECH CO LTD

Android MTK platform memory leak detection method combined with Python data analysis

The invention discloses an Android MTK platform memory leak detection method combined with Python data analysis, and relates to the technical field of Android MTK platform memory leak analysis and troubleshooting, and the method comprises the following steps: S1, system log classification; s2, sorting memory occupation information; s3, outputting a memory occupation broken line graph of each application process; and S4, memory leak judgment. According to the Android MTK platform memory leak detection method combined with Python data analysis, the memory problem of a system process is analyzed very visually, the limitation that only developers can analyze memory leak is broken through, testers execute according to steps, application processes with system memory leak can also be distinguished, the method can be used for system stability testing, and the test efficiency is improved. Data analysis is carried out from the overall dimension of the system, and the limitation that a previous scheme can only aim at a single application process is broken through.
Owner:SHENZHEN EMDOOR DIGITAL TECH

A memory leak detection method and an electronic device

The embodiment of the application provides a memory leakage detection method and electronic equipment, relates to the terminal technical field, and can accurately detect the memory leakage problem of the application in the electronic equipment. The electronic equipment comprises a first process and a second process, and the method comprises the following steps: acquiring first memory information corresponding to the first process and second memory information corresponding to the second process; determining that the first process meets a preset condition and the second process does not meet the preset condition according to the first memory information corresponding to the first process and the second memory information corresponding to the second process; acquiring third memory information corresponding to the first process; and judging whether the first process has memory leakage or not according to the third memory information corresponding to the first process.
Owner:HONOR DEVICE CO LTD

Cache component pointer analysis method based on static analysis

The invention discloses a method for analyzing a pointer of a swan Mongolia ArkTS cache component based on static analysis, which comprises the following steps of: screening AppStorage-related APIs (Application Program Interface) through three-address code semantic modeling, constructing a bidirectional synchronous strong connected component by adopting a reverse backflow edge, and blocking unidirectional synchronous reverse propagation based on freezing constraint, so as to achieve the purpose of analyzing the pointer of the swan Mongolia ArkTS cache component. And realizing cross-component data stream accurate tracking by combining a dynamic pointer assignment graph and an accessibility algorithm. According to the method, the false alarm rate of pointer analysis is reduced from 20% to 5%, the accuracy rate of memory leak detection reaches 98%, the analysis efficiency is improved by 40%-60%, the method is compatible with an OpenHarmony tool chain, and the problems of memory security and optimization under an ArkTS response type synchronization mechanism are solved.
Owner:BEIHANG UNIV

Memory leak detection method and device

The embodiment of the invention provides a memory leak detection method and device, and relates to the technical field of computers.The method comprises the steps that memory data of a plurality of target functions in a target application program are obtained through a pre-injected memory probe, the memory probe is injected into the target function in a compiling stage or a linking stage of the target application program; determining memory leak data of the target function based on the memory data; and under the condition that the memory leak data meets a preset leak condition, executing a preset alarm operation. According to the technical scheme provided by the embodiment of the invention, function-level memory leak monitoring can be realized, and memory leak detection is effectively realized.
Owner:BEIJING YUWEI SEMICONDUCTOR TECHNOLOGY CO LTD

Data processing task scheduling method and device, electronic equipment and medium

The embodiment of the invention discloses a data processing task scheduling method and device, electronic equipment and a medium. A specific embodiment of the method comprises the steps of obtaining a memory capacity set required by task operation and memory capacity of an application server; generating the current required memory capacity; determining a task execution mode; performing memory scheduling on the current data processing task and the target data processing task set to obtain task scheduling information; executing the current data processing task and the target data processing task set to obtain task execution information; in response to determining that the task execution information represents execution abnormity, performing memory leak detection on the task execution information to obtain a task memory detection result; and according to a task memory detection result, performing memory resource recovery on required memories corresponding to the current data processing task and the target data processing task set. According to the embodiment, smooth execution of the data processing task can be improved, waste of memory resources is reduced, and the stability of a system for executing the data processing task is improved.
Owner:GUYUN TECH GUANGZHOU CO LTD

Memory leak detection method and system

The embodiment of the invention provides a memory leak detection method and system, and the method comprises the steps: deploying a data collection function on a tested embedded device, deploying a data processing and analysis function on a high-performance test machine, and separating data collection and data analysis, only the simplest data acquisition function is reserved on the tested embedded equipment, so that the resource overhead is reduced, the embedded equipment can also be used, operation data (the size of a memory block, a self-increasing sequence number and the like) is transmitted by utilizing a lightweight data packet, real-time monitoring is ensured, the resource demand on the embedded equipment is remarkably reduced, and the system performance is improved. The problem of memory leak detection in an embedded environment is solved.
Owner:ZHEJIANG DAHUA TECH CO LTD

Memory management method and device, equipment, medium and product

The embodiment of the invention provides a memory management method and device, equipment, a medium and a product, and the method comprises the steps: determining usable information of a usable memory when detecting that a memory leak detection condition is met; when the available information meets a memory release condition, acquiring memory data stored in the releasable memory file; and determining releasable first data in the releasable memory file according to the determined memory release amount and pointer reference information corresponding to each memory address in the releasable memory file. According to the technical scheme provided by the embodiment of the invention, when the usable information meets the memory release condition, the releasable first data is determined from the releasable memory file according to the memory release amount and the pointer reference information corresponding to the memory address, and the first release memory corresponding to the first data is released; memory occupation caused by memory leakage can be quickly relieved, memory overflow is prevented, and the effects of improving the release efficiency and the overall performance and stability of the system are achieved.
Owner:CHINA MOBILE GRP GANSU CO LTD +1

Memory leak detection method and device and computer readable storage medium

The invention discloses a memory leak detection method and device and a computer readable storage medium. The method comprises the following steps: acquiring process memory information; predicting based on the process memory information to obtain a memory predicted value; and determining a memory leak result based on the memory predicted value. By adopting the method provided by the invention, early warning can be performed before serious consequences are caused by memory leak, and the timeliness of memory leak detection is improved.
Owner:SHENZHEN TCL NEW-TECH CO LTD

Bytecode enhancement-based Java memory leak detection method and system

The invention relates to a Java memory leak detection method and system based on bytecode enhancement, and belongs to the technical field of memory leak detection.The method comprises the steps that in a Java application, creation of objects of a specified class is monitored in a non-intrusive mode, life cycle information of the monitored objects is recorded based on the weak reference technology, and original statistical data is generated; in an analysis service independent of a Java application, regularly obtaining original statistical data, and carrying out multi-dimensional correlation analysis on the original statistical data; and according to the multi-dimensional correlation analysis result, performing fusion to judge whether memory leak occurs, and according to different preset risk conditions, triggering to output corresponding alarm information when any risk condition is met, so that an administrator can know the alarm information. The method and the device have the advantages that the memory leak source can be accurately and automatically positioned in the early stage on the premise of low overhead and no influence on online business service.
Owner:TONGCHENG NETWORK TECH CO LTD

Metadata-based memory leak detection method, system, device and storage medium

The application provides a metadata-based memory vulnerability detection method and system, an electronic device, and a computer readable storage medium. The metadata-based memory vulnerability detection method comprises: dividing a program virtual address into an Unusable item, an ID item, and an offset item arranged in turn from high bits to low bits; during the running of a target program, maintaining metadata, and loading corresponding metadata according to an ID value contained in a target address for an instruction involving a memory access operation; and performing memory vulnerability detection according to a timestamp corresponding to the offset value and the ID in the metadata and the target address. According to the embodiments of the application, comprehensive, cross-platform, and highly scalable memory vulnerability detection can be performed.
Owner:BEIJING YUAN NIAO TECH CO LTD

Memory leak detection method, electronic equipment, storage medium and program product

The embodiment of the invention provides a memory leak detection method, electronic equipment, a storage medium and a program product, and relates to the technical field of cloud computing, the method comprises the following steps: utilizing a first entry tracking probe inserted in a memory allocation application interface and a first return tracking probe inserted in a memory allocation return interface, collecting parameter information of a memory allocation event initiated by each process, and writing the collected information into a memory state monitoring table; collecting parameter information of memory release events initiated by each process by using a second entry tracking probe inserted in a memory release application interface and a second return tracking probe inserted in a memory release return interface, and writing the collected information into a memory state monitoring table; identifying suspicious processes from the processes according to the information in the memory state monitoring table; according to the memory application condition of each function call stack of the suspicious process, identifying the suspicious call stack from each function call stack; and positioning a memory leak position in the source code corresponding to the suspicious call stack.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Data processing method and device, equipment, storage medium and product

The invention provides a data processing method and device, equipment, a storage medium and a product, and relates to the technical field of computers. The method comprises the steps that memory leak information sets corresponding to multiple terminal devices are determined, memory leak information is determined according to detection information obtained when the corresponding terminal devices conduct memory leak detection in the process of running a preset application program, and the memory leak information comprises a target stack applying for a target leak memory segment; and screening out a target dynamic library corresponding to the target stack from the dynamic libraries contained in the target stack, and carrying out aggregation processing on the memory leak information of the target stack corresponding to the same target dynamic library to obtain an aggregation result sent to the target equipment for display. By adopting the technical scheme, the analysis processing efficiency for the memory leak detection result can be improved.
Owner:BEIJING ZITIAO NETWORK TECH CO LTD

Memory leak determination method and device, electronic equipment and storage medium

The embodiment of the invention provides a memory leak determination method and device, electronic equipment and a storage medium. The method comprises the steps that when it is detected that a target condition in a memory leak determination condition set is met, a current monitoring snapshot corresponding to information to be monitored at the current moment is determined; wherein the to-be-monitored information comprises a pre-subscribed monitoring event type; a historical monitoring snapshot corresponding to the target condition is called; wherein the historical monitoring snapshot corresponds to the to-be-monitored information; on the basis of the current monitoring snapshot and the historical monitoring snapshot, generating a leakage prompt event on the basis of the leaked target monitoring information under the condition that the existence of memory leakage is determined; and displaying the leakage prompt event in the target page. According to the technical scheme provided by the embodiment of the invention, the effect of improving the efficiency and accuracy of memory leak detection is achieved while the memory leak detection cost is reduced.
Owner:BEIJING ZITIAO NETWORK TECH CO LTD

Memory leak detection method and system for ION equipment in Android system and medium

The invention relates to the technical field of operating systems, in particular to a method and system for detecting memory leak of ION equipment in an Android system and a readable storage medium. The method comprises the following steps: S1, performing coarse-grained analysis on memory leakage of the ION equipment; s2, constructing an ION equipment memory information structured model based on a kernel debugging node; s3, source code replacement: replacing all system calls related to the file in the source code with packaged system calls; wherein when the packaged system call finishes the work of the common system call, the call point number of the packaged system call is recorded; s4, collecting operation information; and S5, analyzing the memory leak of the ION equipment. Therefore, the memory leak of the ION equipment exclusive to the Android AOSP can be found.
Owner:HUNAN UNIV