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.