1 of 1 people found this helpful
Hmmm, could you attach such test? What Infinispan version are you using? Could you post the configuration? What JDK are you using? What VM parameters are you passing?
You can do a bit of debugging yourself by adding the following VM parameters:
And then using something like Eclipse MAT to analyse the dump.
A HashMap will always have less overhead than Infinispan. Even a CHM has much higher memory footprint due to locks. How much mem have you allocated to the VM, how big is each key and value, and what concurrency level tuning params have you used? Are you using striped locks?1 of 1 people found this helpful