A memory leak detecting method and device, the method comprises: first judgement process, judging whether the current occupied time of a detected memory exceeds a life period preset for the detected memory; and triggering second judgement process when the result of the first judgement process is yes; the second judgement process, judging whether the detected memory is being used by a service process requesting the detected memory; when the result of the second judgement process is yes, confirming that there is no memory leak of the detected memory, when the result of the second judgement process is no, confirming that there is memory leak of the detected memory. A memory leak can be detected accurately and error determination phenomenon is avoided according to the detecting method and device.
展开▼