I am looking for a simple in-memory (and in-process) cache for short-term caching of query data (but short-term meaning beyond request/response, i.e. session boundary).
EhCache would probably work, but it looks as ...
I am getting out of memory error like
java.lang.OutOfMemoryError: Java heap space
Dumping heap to java_pid25116.hprof ...
Heap dump file created [1026555936 bytes in 34.709 secs]
clearly it shows the memory ...
Is the configuration in ehcache,xml used both on the client and server array? If yes, wouldn't the L1 and L2 eventually use the same amount of memory? I thought one of the benefit of using distributed cache is to reduce L1 memory consumption. But from a few posts I have read on this forum regarding this topic, it does not ...