try with ehcache to get better memory behaviour