Patent ID: 8275741

Claim:
A method of memory management in an electronic device, the method comprising: receiving at said electronic device from a synchronization server, representative viewable or audible samples of data records, wherein each representative viewable or audible sample comprises one of a viewable or audible compressed version of one of said data records and a viewable or audible portion of one of said data records; storing said representative viewable or audible samples of data records in a memory of said electronic device; determining whether or not a low memory condition exists in said memory of said electronic device; requesting a first full content data record, from the synchronization server, corresponding to a first representative viewable or audible sample stored in the memory of said electronic device, in response to a user input at an input device of said electronic device; receiving said first full content data record; and replacing said first representative viewable or audible sample with said first full content data record in the memory of said electronic device; if a low memory condition is determined, prior to said requesting, replacing an other data record stored in said memory with a representative sample of the other data record to thereby provide available memory; wherein said replacing an other data record stored in said memory with a representative sample of the other data record comprises: retrieving said other data record from said memory; performing a compression on said other data record to form a compressed data record; and writing the compressed data record over said other data record on said memory.