Patent ID: 7587566

Claim:
A method for minimizing memory access latency during a realtime process by preventing memory required for the realtime process from being paged out to disk, the realtime process implementing information marked as realtime information, the method comprising: identifying the marked information as realtime information; and locking memory required to implement the realtime information during realtime processing to ensure that the memory required during the realtime processing is physically present in a memory subsystem, wherein locking memory comprises locking a realtime heap that allocates memory blocks and a realtime thread stack corresponding to the realtime process and updating the realtime heap with additional locked memory blocks when an allocation fails during execution of a realtime thread in the realtime thread stack, wherein a private realtime heap is created when the realtime process requests a number of large blocks of memory, or a large number of small allocations, and an expected lifetime of the requested allocation allocations of memory blocks is less than a lifetime corresponding to multimedia data associated with the realtime information read by the realtime process.