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

4 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.

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 leakage detection method, device, equipment, storage medium and program product

This disclosure provides a method, apparatus, device, storage medium, and program product for memory leak detection, relating to fields such as memory leak detection, and application scenarios including but not limited to memory leak detection scenarios. The method includes: acquiring memory snapshots of a target application at two target time points during a target memory detection period, and storing the two memory snapshots in a local file; wherein the two target time points include the start and end time points of the target memory detection period; determining the function call tree corresponding to each of the two memory snapshots based on the two memory snapshots in the local file; determining relevant data on memory leaks during the target application's operation in the target memory detection period based on the function call trees corresponding to the two memory snapshots; writing the memory snapshots to a local file reduces the memory usage of the memory snapshots, avoids memory crashes caused by excessive memory usage of the memory snapshots, and improves the efficiency of memory leak detection.
Owner:SHENZHEN TENCENT NETWORK INFORMATION TECH CO LTD

A memory leak detection processing method and device for a storage system

ActiveCN117743005BFault responseInternal memoryTerm memory
The application provides a memory leakage detection processing method and device of a storage system. The method comprises: in response to an application memory request initiated by a secondary process to a primary process in the storage system, judging whether the secondary process has a memory leakage condition based on memory usage information recorded by a slot array corresponding to the primary process; the secondary process is one or more processes predefined in the storage system for implementing external function operations, and the primary process is a process slot array predefined in the storage system for implementing internal memory usage management and monitoring; each array element in the process slot array is used to obtain a memory page according to the application memory request; and based on application record information corresponding to the slot array, a target function operation with memory leakage in the secondary process is determined when it is determined that the secondary process has a memory leakage condition. The method provided by the application can effectively improve the efficiency of memory leakage detection processing of the storage system and quickly locate the function operation causing memory leakage in the secondary process.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD