<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I was changing cache config a bit, and got this:<div>* <a href="https://gist.github.com/4130728">https://gist.github.com/4130728</a></div><div><br></div><div><div> private static void verifyCacheHasNoEviction(AdvancedCache<?, ?> cache) {</div><div> if (cache.getConfiguration().getEvictionStrategy().isEnabled())</div><div> throw new IllegalArgumentException("DistributedSegmentReadLocker is not reliable when using a cache with eviction enabled, disable eviction on this cache instance");</div><div> }</div></div><div><br></div><div><br></div><div>How do you then handle memory overflow on no-eviction caches?</div><div><br></div><div><br></div><div>-Ales</div><div><br></div></body></html>