Patent ID: 7505963

Claim:
A method, implemented in a computer system, minimizing memory requirements of a resource variable value: save and retrieve operation, wherein the computer system contains a computer processor including a computer readable storage medium containing computer executable code that when executed by the computer processor causes the computer processor to perform the method comprising: minimizing one of hardware and software memory storage requirements of the resource variable value save and retrieve operation by: minimizing a number of repository entries required to be saved in the resource variable value save and retrieve operation by creating and saving repository entries only for resource variables that have non-normal values, wherein the computer readable storage medium includes a small repository containing a plurality of repository entry locations; pruning repository entries of resource variables and values of resource variables by removing repository entries of resource variables from the small repository, when values of resource variables have returned to a normal value, wherein a size of the small repository is measured in terms of the number of repository entries required to be saved in the resource variable value save and retrieve operation, wherein the number of repository entries is equal to a summation of resource variable identifiers of a plurality of resource variables known to have non-normal values, and wherein the number of repository entries is calculated by: number of repository entries=(SUM Number of Known RVVALs with Value Non-norm), wherein each repository entry includes a resource variable identifier and a value of the resource variable; saving values of resource variables by one of adding an entry to the repository for a resource variable with a non-normal value if no entry yet exists for the resource variable, and updating the entry to the repository for the resource variable with the non-normal value if the entry already exists for the resource variable, and adding no entry to the repository for a resource variable with a normal value if no entry yet exists for the resource variable with the normal value, and removing the repository entry for the resource variable with the normal value if the entry already exists for the resource variable with the normal value; and retrieving values of resource variables by one of returning a value found in the repository for a resource variable and returning a normal value for the resource variable when the resource variable is not present in the repository.