Reduce the amount of objects being cached by ehcache