Patent ID: 6782462
Filing Date: 2004-08-24
Classification: G06F,Y10S

Abstract:
A method of detecting memory leaks in a computer system, said method comprising:receiving one or more memory allocation requests from operating system components; allocating memory in response to the allocation requests; identifying an available memory area within the allocated memory to store memory allocation data corresponding to the memory allocation requests, the memory allocation data including component identification data identifying the operating system components and memory allocation data corresponding to the memory allocation requests; storing the memory allocation data in the identified available memory area, the storing performed by a second operating system component; receiving memory de-allocation requests corresponding to one or more of the memory allocation requests; clearing the memory areas corresponding to the memory de-allocation requests; identifying one or more operating system components with memory leaks by reading the un-cleared memory areas; formatting the memory into a plurality of memory array slots, wherein each of the memory array slots is adapted to store data corresponding to a separate memory allocation request; and creating a plurality of fields within the memory array slots, at least one of the fields being selected from the group consisting of an operating system component name, a location, a size, and a pointer.