I am migrating from ehcache to infinispan. In ehcache we have
net.sf.ehcache.Cache.calculateInMemorySize()
to calculate in memory size.
How to calculate in memory size in infinispan?
I am migrating from ehcache to infinispan. In ehcache we have
net.sf.ehcache.Cache.calculateInMemorySize()
to calculate in memory size.
How to calculate in memory size in infinispan?
Tomas 是对的,目前没有办法计算内存中数据的大小。然而,我们确实为用户提供了一些关于Infinispan 产生的内存开销的指南,这有助于用户规划他们的内存需求。计算内存中数据的大小并非易事,需要考虑许多微妙的细节(JVM 类型、架构等)。