<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>

</head>

<body bgcolor=white lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>All,</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='text-indent:6.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>I am
trying to test some changes that I made using Eclipse and the TestNG plugin. I
am not familiar with TestNG. Are there any settings that I should make? Any
ideas?</span></font></p>

<p class=MsoNormal style='text-indent:6.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>java.lang.OutOfMemoryError:
Java heap space</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.util.concurrent.BoundedConcurrentHashMap$HashEntry.newArray(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>BoundedConcurrentHashMap.java:295</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.util.concurrent.BoundedConcurrentHashMap$Segment.&lt;init&gt;(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>BoundedConcurrentHashMap.java:898</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.util.concurrent.BoundedConcurrentHashMap.&lt;init&gt;(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>BoundedConcurrentHashMap.java:1367</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.container.DefaultDataContainer.&lt;init&gt;(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>DefaultDataContainer.java:78</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.container.DefaultDataContainer.&lt;init&gt;(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>DefaultDataContainer.java:47</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.container.DefaultDataContainer.unBoundedDataContainer(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>DefaultDataContainer.java:93</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.DataContainerFactory.construct(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>DataContainerFactory.java:53</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>AbstractComponentRegistry.java:315</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>AbstractComponentRegistry.java:251</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>AbstractComponentRegistry.java:840</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>AbstractComponentRegistry.java:225</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.ComponentRegistry.registerComponent(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>ComponentRegistry.java:120</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>AbstractComponentRegistry.java:192</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>AbstractComponentRegistry.java:323</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>AbstractComponentRegistry.java:251</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>AbstractComponentRegistry.java:840</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>AbstractComponentRegistry.java:225</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.ComponentRegistry.registerComponent(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>ComponentRegistry.java:120</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>AbstractComponentRegistry.java:192</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>AbstractComponentRegistry.java:323</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>AbstractComponentRegistry.java:251</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>AbstractComponentRegistry.java:840</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>AbstractComponentRegistry.java:225</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.ComponentRegistry.registerComponent(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>ComponentRegistry.java:120</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>AbstractComponentRegistry.java:192</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.InternalCacheFactory.bootstrap(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>InternalCacheFactory.java:92</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.InternalCacheFactory.createAndWire(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>InternalCacheFactory.java:78</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.InternalCacheFactory.createCache(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>InternalCacheFactory.java:62</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.manager.DefaultCacheManager.createCache(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>DefaultCacheManager.java:510</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.manager.DefaultCacheManager.getCache(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>DefaultCacheManager.java:440</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.manager.DefaultCacheManager.getCache(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>DefaultCacheManager.java:409</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.config.ConfigurationValidationTest.testDefaultMemoryGuardConfiguration(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>ConfigurationValidationTest.java:100</span></font></u><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:windowtext'>&nbsp;</span></font></p>

<p class=MsoNormal style='text-indent:6.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=black
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;color:windowtext'>-----Original
Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
infinispan-dev-bounces@lists.jboss.org
[mailto:infinispan-dev-bounces@lists.jboss.org] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Vladimir Blagojevic<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, January 14, 2011
11:05 AM<br>
<b><span style='font-weight:bold'>To:</span></b> infinispan -Dev List<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [infinispan-dev]
ISPN-863 - Thoughts / Questions</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'>Hey David,<br>
<br>
First of all kudos for taking on such a non-trivial task!<br>
<br>
On 11-01-14 12:22 AM, david marion wrote: </span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-.25in'><font size=3
color=navy face="Times New Roman"><span style='font-size:12.0pt;color:navy'>1.<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'><u1:p></u1:p>Modify
configuration in some way so that the following can be specified:</span></font></p>

<u1:p></u1:p>

<p class=MsoNormal style='margin-left:1.5in;text-indent:-.25in'><font size=3
color=navy face="Times New Roman"><span style='font-size:12.0pt;color:navy'>a.<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>The percentage value of
used JVM memory (i.e. 95) at which entries should be evicted to try and avoid
an OOM error.</span></font></p>

<u1:p></u1:p>

<p class=MsoNormal style='margin-left:1.5in;text-indent:-.25in'><font size=3
color=navy face="Times New Roman"><span style='font-size:12.0pt;color:navy'>b.<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>The number of items that
should be evicted when memory reaches this threshold</span></font></p>

<u1:p></u1:p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-.25in'><font size=3
color=navy face="Times New Roman"><span style='font-size:12.0pt;color:navy'>2.<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Modify LRU and LIRS
Eviction class so that the accessQueue member can be accessed by the new
Eviction class so that two access queues don&#8217;t have to be maintained.</span></font></p>

<u1:p></u1:p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-.25in'><font size=3
color=navy face="Times New Roman"><span style='font-size:12.0pt;color:navy'>3.<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Create a new Eviction
class, a subclass of &nbsp;LIRS, where the accessQueue is used from the
Eviction strategy the user specifies and the for loop in the execute method is
exited when the evicted set equals value from 1.b above.</span></font></p>

<u1:p></u1:p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-.25in'><font size=3
color=navy face="Times New Roman"><span style='font-size:12.0pt;color:navy'>4.<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Modify
DataContainerFactory.construct() to call
DefaultDataContainer.boundedDataContainer() regardless of eviction policy. This
will always create a BoundedConcurrentHashMap</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'><br>
I don't think you have to extend LRU and LIRS, as long as you implement
EvictionPolicy you are fullfilling the contract. What extending LRU and LIRS
can do is give you some order in selecting proper elements for eviction. I
think the precise technical term in research literature is &quot;eviction
precision&quot;. <br>
<br>
<br>
</span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-.25in'><font size=3
color=navy face="Times New Roman"><span style='font-size:12.0pt;color:navy'>1.<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></font><font color=navy><span style='color:navy'>&nbsp;</span></font></p>

<u1:p></u1:p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-.25in'><font size=3
color=navy face="Times New Roman"><span style='font-size:12.0pt;color:navy'>2.<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Create an instance of the
new Eviction class in each segment.</span></font></p>

<u1:p></u1:p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-.25in'><font size=3
color=navy face="Times New Roman"><span style='font-size:12.0pt;color:navy'>3.<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Modify
BoundedConcurrentHashMap.Segment put and replace methods such that when new
values are going to be put into the Segment, the memory usage is checked and
the execute method is called on the new Eviction class.</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'><br>
Sounds right!<br>
<br>
<br>
</span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-.25in'><font size=3
color=navy face="Times New Roman"><span style='font-size:12.0pt;color:navy'>1.<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></font><font color=navy><span style='color:navy'>&nbsp;</span></font></p>

<u1:p></u1:p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font><u1:p></u1:p></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Questions:</span></font><u1:p></u1:p></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font><u1:p></u1:p></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-.25in'><font size=3
color=navy face="Times New Roman"><span style='font-size:12.0pt;color:navy'>1.<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>What are the implications
of using a BoundedConcurrentHashMap instead of a ConcurrentHashMap when
maxEntries is set to -1?</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'><br>
I think none except you turn on eviction by using BoundedConcurrentHashMap.<br>
<br>
<br>
</span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-.25in'><font size=3
color=navy face="Times New Roman"><span style='font-size:12.0pt;color:navy'>1.<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></font><font color=navy><span style='color:navy'>&nbsp;</span></font></p>

<u1:p></u1:p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font><u1:p></u1:p></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Thoughts</span></font><u1:p></u1:p></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font><u1:p></u1:p></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-.25in'><font size=3
color=navy face="Times New Roman"><span style='font-size:12.0pt;color:navy'>1.<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>This will not guarantee
that an OOM error does not occur. It will attempt to guard against an OOM
caused by putting new values into the cache. This will probably be more
effective when the cache is being used in client/server mode, and less
effective when used in embedded mode as to other code running in the JVM.</span></font></p>

<u1:p></u1:p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font><u1:p></u1:p></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font><u1:p></u1:p></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>-- Dave Marion</span></font><u1:p></u1:p></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'><br>
Cheers,<br>
Vladimir</span></font></p>

</div>

</body>

</html>