Patent ID: 7987480

Claim:
A method for allocating memory in user equipment, wherein the memory is configured to store at least program guide data and non-program guide data, the method comprising: allocating a first portion of the memory for storing the non-program guide data; determining an amount of the memory available for storing the program guide data based on the allocation of the first portion of the memory, allocating a second portion of the memory for storing the program guide data, wherein the size of the second portion of the memory is selected from a plurality of predetermined sizes based on the determined amount of the available memory and wherein the predetermined sizes are associated with a plurality of program guide memory usage levels that specify an amount of program data to be stored in the memory for a plurality of programming categories; determining a first amount of program guide data currently stored in the memory; determining a second amount of the currently stored program guide data in which the first amount exceeds the size of the second portion of the memory; and removing at least the second amount of the currently stored program guide data from the memory.