<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 11-01-20 9:52 AM, david marion wrote:
<blockquote cite="mid:COL113-W385C1BE2A00CA58418309FD1F90@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
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.<br>
</blockquote>
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? <br>
</body>
</html>