title: Ehcache being emptied
body: <p>I'm using Hibernate 4.2 and Ehcache 2.4.3 in my webapp and I've found out that my caches are constantly being cleared every few seconds (even the ones marked as eternal). There is no place in my code where I clear all the caches. Why is this happening?</p>
  
  <p>Here is my ehcache.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;ehcache&gt;
    &lt;diskStore path="java.io.tmp"/&gt;
  
    &lt;defaultCache
      maxElementsInMemory="1000000"
      eternal="false"
      overflowToDisk="false"
      memoryStoreEvictionPolicy="LRU"/&gt;
  
    &lt;cache name="[class A]"
      maxElementsInMemory="250000"
      eternal="false"
      overflowToDisk="false"
      memoryStoreEvictionPolicy="LRU"/&gt;
  
    &lt;cache name="[class B]"
      maxElementsInMemory="10"
      eternal="true"
      overflowToDisk="false"/&gt;  
  &lt;/ehcache&gt;
  </code></pre>
  
  <p>Here are my Tomcat's JAVA_OPTS:</p>
  
  <pre><code>-server -Xms32G -Xmx32G -XX:PermSize=512m -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:ParallelGCThreads=20 -XX:ConcGCThreads=5 -XX:InitiatingHeapOccupancyPercent=70 -XX:+DisableExplicitGC
  </code></pre>