The EHCache used by DXA is detected as a leak in our heapdump because it's arriving to get 1Gb of it. I guess EHCache is not at all a good implementation for large/intensive systems were an external cache is more useful, we are considering to disable the DD4T cache but we don't know yet how this could affect the performance & throughput of our application.
Is there a way to disable EHCache from the DXA framework? This is our conf
<cache name="DD4T-Objects"
eternal="false"
maxBytesLocalHeap="100m"
timeToLiveSeconds="3600"
timeToIdleSeconds="3600"
memoryStoreEvictionPolicy="LRU">
</cache>
<cache name="DD4T-Dependencies"
maxBytesLocalHeap="100m"
timeToLiveSeconds="3600"
timeToIdleSeconds="3600"
memoryStoreEvictionPolicy="LRU">
</cache>