Patent ID: 7441247

Claim:
In a resource management infrastructure, a method of managing an association among at least two resources, each resource being modeled by a resource class and the association being modeled by an association class including a plurality of references to the corresponding resource classes, wherein the method is implemented by a processor of a data processing system and comprises: receiving a request from a management application; identifying at least one resource object, in memory of the data processing system, instantiating each resource class referenced in the association class; creating an association object, in the memory of the data processing system, instantiating the association class for each combination of the resource objects; setting at least one association property of each association object according to dynamic characteristics of the corresponding resource objects; returning each association object to the management application; and managing, by the management application, at least one resource of the data processing system, associated with the at least one resource object, based on the at least one association property of an association object corresponding to the at least one resource; the resource classes comprise a Memory class and a Process class, wherein the Memory class models a memory of the data processing system and the Process class models at least one process running on the data processing system; wherein the Memory class has an Available property indicating a residual capacity of the memory of the data processing system and a Cache property indicating an amount of memory configured as a cache memory, and wherein the Process class has a WorkingSet property that indicates a total memory used by the at least one process and a PrivateBytes property that indicates an amount of memory completely dedicated to the at least one process; wherein the association class is a MemoryLeak association class that references the Memory class and the Process class and has a Critical property that indicates a critical memory leak condition on the data processing system.