A method and system for tracking usage of memory in a computer system is provided. Arguments for both the size of a memory allocation and the type of memory being allocated are reserved in a fixed location. A first fixed location is reserved for small memory allocations, i.e. less than one page, and a second fixed location is reserved for large memory allocations, i.e. one page or larger. The fixed location is selected based upon a determination of the size of an allocation required by a calling application. Upon receipt of a memory allocation request by the calling application, a pointer is returned to the calling application identifying the fixed location. Similarly, upon release of memory by the calling application, a counter is decremented to track the amount of memory in use by the application.

 
Web www.patentalert.com

< Device for automatically translating and presenting voice messages as text messages

> Method and system for providing local information over a network

~ 00488