Reduce memory usage of policy history caching.