New version of ehcache requires to configure maxBytesLocalHeap