I can see the folders created under the "/tmp/application/cache" but when I run the application and do the test, the memory of the application getting increase while the folder size remain same.
The cache is configured with 15GB of heap and 30GB of disk. Assuming the cache isn't (aggressively) prematurely evicting, and the heap usage doesn't rise beyond 15GB then I don't see what the malfunction is.
Hi,
Problem Statement: I have to compare two TreeSet which have a millions of records.
Solution I have used ehcache 3 with spring boot to store the data over the disk.
Implementation 1) Jars
compile("org.springframework.boot:spring-boot-starter-cache") compile("javax.cache:cache-api") compile("org.ehcache:ehcache:3.7.1")
2) ehcache.xml<config xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns='http://www.ehcache.org/v3' xsi:schemaLocation=" http://www.ehcache.org/v3 http://www.ehcache.org/schema/ehcache-core-3.7.xsd">
3) Classes
CacheHelper.java