Question

BAckground: I'm using ehcache as a cache implementation in a Spring 3.1 application. I'm storing large items (files of 100 MB for example) ... I activated the Disk Storage option (overflowToDisk = true ) in ehcache.xml.

My question is : does ehcache load the whole object (large object in my case) in memory or does it stream it from the disk ?

Version of ehcache is 2.5.0

Thank you.

Was it helpful?

Solution

Currently it loads the whole object though we have talked about providing a streaming interface for both entering and retrieving values. Is this something that would interest you?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top