This content has been marked as final.
Show 2 replies
-
1. Re: OutOfMemoryError running test
galder.zamarreno Feb 10, 2010 4:22 AM (in response to yelin66)1 of 1 people found this helpfulHmmm, 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:
-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/java_heap
And then using something like Eclipse MAT to analyse the dump.
-
2. Re: OutOfMemoryError running test
manik Feb 10, 2010 7:39 AM (in response to yelin66)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