[infinispan-dev] ISPN-863 - Thoughts / Questions

Vladimir Blagojevic vblagoje at redhat.com
Thu Jan 20 10:34:22 EST 2011


On 11-01-20 9:52 AM, david marion wrote:
> I did exactly that last night. I built a test that allocated 
> HashEntry<K,V>[] just like it does in the Segment constructor. I don't 
> have the numbers in front of me right now, but at the maximum size 
> (2^30) and without specifying concurrency it was trying to allocate 32 
> Segment objects each having a HashEntry<K,V>[] with 2^25 elements. 
> Each one of these HashEntry<K,V>[] takes up around 128MB of memory.
Ok, let me just make sure I understand you. You are saying that BCHM is 
allocating too much memory if a certain constructor is used?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20110120/1c57c46a/attachment.html 


More information about the infinispan-dev mailing list