EHC ❯ Unable to get Memory Usage of Cache, if I keep diskPersistent="true"
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
ehcache-core
-
-
cdennis
-
Reporter: sanmukho
-
December 23, 2010
-
0
-
Watchers: 1
-
July 27, 2012
-
January 03, 2011
Description
Hi
Whenever I put diskPersistent=”true” in cache Configuration, calculateInMemorySize function return Zero, If I keep diskPersistent=false , then shows me Memory Usage.
I want to know my exact memory usage of my cache.
String memStats = “
[ InMemorySize = “ + cache.calculateInMemorySize();
Below is cache configuration
Let me know for more details.
Regards Sandeep Mukhopadhyay