Patent ID: 8280927

Claim:
An electronic equipment that executes a processing executing program that performs predetermined processing, the electronic equipment comprising: a memory; an allocation time setting unit that sets an allocation time for a memory region in the memory that the processing executing program is to use and that starts counting the allocation time when the memory region is allocated in the memory; a memory leak detecting unit that detects an occurrence of the memory region not having been deallocated within the allocation time; a forcible deallocation unit that, when the memory leak detecting unit detects the occurrence of the memory region not having been deallocated within the allocation time, forcibly deallocates the memory region; a forcible deallocation window time setting unit that sets a forcible deallocation window time for suspending a forcible deallocation of the memory region and that starts counting the forcible deallocation window time when the memory leak detecting unit detects the occurrence of the memory region not having been deallocated within the allocation time; and a second memory leak detecting unit that detects the occurrence of the memory region not having been deallocated within the forcible deallocation window time, wherein the forcible deallocation unit forcibly deallocates the memory region when it has been detected by the second memory leak detecting unit that the memory region has not been deallocated within the forcible deallocation window time.