Method for detecting memory leak and electronic device thereof
摘要:
Various embodiments relate to a method for detecting a memory leak and an electronic device thereof, the electronic device including a processor, and a memory operatively connected to the processor, wherein the memory stores instructions which, when executed by the processor, control the electronic device to: acquire usage information for the memory of a process executed by the processor based on a collection period determined based at least partially on a characteristic of the process; identify a change pattern of a usage amount for the memory of the process based on the usage information; and determine whether a memory leak occurs based on the change pattern of the usage amount.
信息查询
0/0