Patent ID: 7694102

Claim:
A data processing system implemented method of self-tuning memory, compnsing: setting a tuning interval; setting, for a memory pool, a target range for free memory; setting a new target size for the memory pool, increasing memory allocation for the memory pool for a next tuning interval based on the new target size and maintaining free memory in the memory pool within the target range for free memory based on the new target size, if memory consumption increases above the set target range for free memory during a tuning interval; setting a new target size for the memory pool, decreasing memory allocation for the memory pool for a next tuning interval using a decrement rate and maintaining free memory in the memory pool within the target range for free memory based on the new target size, if memory consumption decreases below the set target range for free memory during a tuning interval; setting a maximum size for the memory pool; and automatically providing an overflow memory to accommodate a temporary overflow beyond the set maximum size of the memory pool.