polish ehcache directmemory