1. A computer-implemented method for resource management of a data processing system, the method comprising: periodically pushing a token into a memory usage queue, the token including a timestamp indicating time entering the memory usage queue, wherein the memory usage queue stores a plurality of memory page identifiers (IDs) identifying a plurality of memory pages currently allocated to a plurality of programs running within the data processing system; in response to a request to reduce memory usage, popping a token from the memory usage queue; and comparing a timestamp of the popped token with current time to determine whether a memory usage reduction action should be performed.