Opened an issue in Ehcache so that the String creation does not happen eagerly. See https://jira.terracotta.org/jira/browse/EHC-1137