Method and system for tracking memory usage
AssigneeLipingData Corporation
InventorLiping Dai
Life of this patent
Estimating the term…
Loading patent…
AssigneeLipingData Corporation
InventorLiping Dai
Estimating the term…
A method and system track memory allocation and release activities to detect memory leak, buffer overflow, and release type mismatch errors in a computing system. The memory tracker computes the necessary size of the allocated memory block and calls operating system provided functions to allocate and release raw memory blocks. Raw memory blocks are formatted into allocated memory blocks. An indexed data structure stores the allocated memory blocks. The user memory address is used as the index key value. The memory blocks are removed from the indexed data structure when the programs release the memory. The memory blocks remaining in the indexed data structure are considered memory leaks when the memory tracker terminates. The memory tracker adds bytes to the end of memory blocks for the integrity check and detects possible buffer overflow errors. Memory allocation type is added in the allocated memory blocks for release type mismatch errors.
A method for tracking memory allocation and release activities by a memory tracker to detect memory leak, buffer overflow, and release type mismatch errors in a computing system, comprising:
Dependencies are inferred from the claim text.