<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Its easier to run everything from command line for two reason I can
    think of:<br>
    - everyone has same env to compare results with you<br>
    - it is all ready to go<br>
    <br>
    See <a class="moz-txt-link-freetext" href="http://community.jboss.org/wiki/InfinispanandMaven">http://community.jboss.org/wiki/InfinispanandMaven</a><br>
    <br>
    On 11-01-17 11:38 AM, Dave wrote:
    <blockquote cite="mid:BLU0-SMTP137AF6FF2A296C2433F8987D1F40@phx.gbl"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <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>
      <div class="Section1">
        <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
              style="font-size: 10pt; font-family: Arial; color: navy;">All,</span></font></p>
        <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
              style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>
        <p class="MsoNormal" style="text-indent: 6pt;"><font
            color="navy" face="Arial" size="2"><span style="font-size:
              10pt; 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: 6pt;"><font
            color="navy" face="Arial" size="2"><span style="font-size:
              10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">java.lang.OutOfMemoryError:
              Java heap space</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.util.concurrent.BoundedConcurrentHashMap$HashEntry.newArray(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">BoundedConcurrentHashMap.java:295</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.util.concurrent.BoundedConcurrentHashMap$Segment.&lt;init&gt;(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">BoundedConcurrentHashMap.java:898</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.util.concurrent.BoundedConcurrentHashMap.&lt;init&gt;(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">BoundedConcurrentHashMap.java:1367</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.container.DefaultDataContainer.&lt;init&gt;(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">DefaultDataContainer.java:78</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.container.DefaultDataContainer.&lt;init&gt;(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">DefaultDataContainer.java:47</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.container.DefaultDataContainer.unBoundedDataContainer(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">DefaultDataContainer.java:93</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp; at
              org.infinispan.factories.DataContainerFactory.construct(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">DataContainerFactory.java:53</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">AbstractComponentRegistry.java:315</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">AbstractComponentRegistry.java:251</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">AbstractComponentRegistry.java:840</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">AbstractComponentRegistry.java:225</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.ComponentRegistry.registerComponent(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">ComponentRegistry.java:120</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">AbstractComponentRegistry.java:192</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">AbstractComponentRegistry.java:323</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">AbstractComponentRegistry.java:251</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">AbstractComponentRegistry.java:840</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">AbstractComponentRegistry.java:225</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.ComponentRegistry.registerComponent(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">ComponentRegistry.java:120</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">AbstractComponentRegistry.java:192</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">AbstractComponentRegistry.java:323</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">AbstractComponentRegistry.java:251</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">AbstractComponentRegistry.java:840</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">AbstractComponentRegistry.java:225</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.ComponentRegistry.registerComponent(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">ComponentRegistry.java:120</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">AbstractComponentRegistry.java:192</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp; at
              org.infinispan.factories.InternalCacheFactory.bootstrap(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">InternalCacheFactory.java:92</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.factories.InternalCacheFactory.createAndWire(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">InternalCacheFactory.java:78</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
              org.infinispan.factories.InternalCacheFactory.createCache(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">InternalCacheFactory.java:62</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
              org.infinispan.manager.DefaultCacheManager.createCache(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">DefaultCacheManager.java:510</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
              org.infinispan.manager.DefaultCacheManager.getCache(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">DefaultCacheManager.java:440</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
              org.infinispan.manager.DefaultCacheManager.getCache(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">DefaultCacheManager.java:409</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.infinispan.config.ConfigurationValidationTest.testDefaultMemoryGuardConfiguration(</span></font><u><font
              color="navy" face="Courier New" size="2"><span
                style="font-size: 10pt; font-family: &quot;Courier
                New&quot;; color: navy;">ConfigurationValidationTest.java:100</span></font></u><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">)</span></font></p>
        <p class="MsoNormal" style=""><font color="black" face="Courier
            New" size="2"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: windowtext;">&nbsp;</span></font></p>
        <p class="MsoNormal" style="text-indent: 6pt;"><font
            color="navy" face="Arial" size="2"><span style="font-size:
              10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>
        <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
              style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>
        <p class="MsoNormal" style="margin-left: 0.5in;"><font
            color="black" face="Tahoma" size="2"><span style="font-size:
              10pt; font-family: Tahoma; color: windowtext;">-----Original
              Message-----<br>
              <b><span style="font-weight: bold;">From:</span></b>
              <a class="moz-txt-link-abbreviated" href="mailto:infinispan-dev-bounces@lists.jboss.org">infinispan-dev-bounces@lists.jboss.org</a>
              [<a class="moz-txt-link-freetext" href="mailto:infinispan-dev-bounces@lists.jboss.org">mailto:infinispan-dev-bounces@lists.jboss.org</a>] <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: 0.5in;"><font
            color="black" face="Times New Roman" size="3"><span
              style="font-size: 12pt;">&nbsp;</span></font></p>
        <p class="MsoNormal" style="margin-left: 0.5in;"><font
            color="black" face="Times New Roman" size="3"><span
              style="font-size: 12pt;">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: 1in; text-indent:
          -0.25in;"><font color="navy" face="Times New Roman" size="3"><span
              style="font-size: 12pt; color: navy;">1.<font face="Times
                New Roman" size="1"><span style="font: 7pt &quot;Times
                  New Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </span></font></span></font><font color="navy"
            face="Arial" size="2"><span style="font-size: 10pt;
              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:
          -0.25in;"><font color="navy" face="Times New Roman" size="3"><span
              style="font-size: 12pt; color: navy;">a.<font face="Times
                New Roman" size="1"><span style="font: 7pt &quot;Times
                  New Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </span></font></span></font><font color="navy"
            face="Arial" size="2"><span style="font-size: 10pt;
              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:
          -0.25in;"><font color="navy" face="Times New Roman" size="3"><span
              style="font-size: 12pt; color: navy;">b.<font face="Times
                New Roman" size="1"><span style="font: 7pt &quot;Times
                  New Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </span></font></span></font><font color="navy"
            face="Arial" size="2"><span style="font-size: 10pt;
              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: 1in; text-indent:
          -0.25in;"><font color="navy" face="Times New Roman" size="3"><span
              style="font-size: 12pt; color: navy;">2.<font face="Times
                New Roman" size="1"><span style="font: 7pt &quot;Times
                  New Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </span></font></span></font><font color="navy"
            face="Arial" size="2"><span style="font-size: 10pt;
              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: 1in; text-indent:
          -0.25in;"><font color="navy" face="Times New Roman" size="3"><span
              style="font-size: 12pt; color: navy;">3.<font face="Times
                New Roman" size="1"><span style="font: 7pt &quot;Times
                  New Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </span></font></span></font><font color="navy"
            face="Arial" size="2"><span style="font-size: 10pt;
              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: 1in; text-indent:
          -0.25in;"><font color="navy" face="Times New Roman" size="3"><span
              style="font-size: 12pt; color: navy;">4.<font face="Times
                New Roman" size="1"><span style="font: 7pt &quot;Times
                  New Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </span></font></span></font><font color="navy"
            face="Arial" size="2"><span style="font-size: 10pt;
              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: 0.5in;"><font
            color="black" face="Times New Roman" size="3"><span
              style="font-size: 12pt;"><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
              "eviction
              precision". <br>
              <br>
              <br>
            </span></font></p>
        <p class="MsoNormal" style="margin-left: 1in; text-indent:
          -0.25in;"><font color="navy" face="Times New Roman" size="3"><span
              style="font-size: 12pt; color: navy;">1.<font face="Times
                New Roman" size="1"><span style="font: 7pt &quot;Times
                  New Roman&quot;;">&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: 1in; text-indent:
          -0.25in;"><font color="navy" face="Times New Roman" size="3"><span
              style="font-size: 12pt; color: navy;">2.<font face="Times
                New Roman" size="1"><span style="font: 7pt &quot;Times
                  New Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </span></font></span></font><font color="navy"
            face="Arial" size="2"><span style="font-size: 10pt;
              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: 1in; text-indent:
          -0.25in;"><font color="navy" face="Times New Roman" size="3"><span
              style="font-size: 12pt; color: navy;">3.<font face="Times
                New Roman" size="1"><span style="font: 7pt &quot;Times
                  New Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </span></font></span></font><font color="navy"
            face="Arial" size="2"><span style="font-size: 10pt;
              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: 0.5in;"><font
            color="black" face="Times New Roman" size="3"><span
              style="font-size: 12pt;"><br>
              Sounds right!<br>
              <br>
              <br>
            </span></font></p>
        <p class="MsoNormal" style="margin-left: 1in; text-indent:
          -0.25in;"><font color="navy" face="Times New Roman" size="3"><span
              style="font-size: 12pt; color: navy;">1.<font face="Times
                New Roman" size="1"><span style="font: 7pt &quot;Times
                  New Roman&quot;;">&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: 0.5in;"><font
            color="navy" face="Arial" size="2"><span style="font-size:
              10pt; font-family: Arial; color: navy;">&nbsp;</span></font><u1:p></u1:p></p>
        <p class="MsoNormal" style="margin-left: 0.5in;"><font
            color="navy" face="Arial" size="2"><span style="font-size:
              10pt; font-family: Arial; color: navy;">Questions:</span></font><u1:p></u1:p></p>
        <p class="MsoNormal" style="margin-left: 0.5in;"><font
            color="navy" face="Arial" size="2"><span style="font-size:
              10pt; font-family: Arial; color: navy;">&nbsp;</span></font><u1:p></u1:p></p>
        <p class="MsoNormal" style="margin-left: 1in; text-indent:
          -0.25in;"><font color="navy" face="Times New Roman" size="3"><span
              style="font-size: 12pt; color: navy;">1.<font face="Times
                New Roman" size="1"><span style="font: 7pt &quot;Times
                  New Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </span></font></span></font><font color="navy"
            face="Arial" size="2"><span style="font-size: 10pt;
              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: 0.5in;"><font
            color="black" face="Times New Roman" size="3"><span
              style="font-size: 12pt;"><br>
              I think none except you turn on eviction by using
              BoundedConcurrentHashMap.<br>
              <br>
              <br>
            </span></font></p>
        <p class="MsoNormal" style="margin-left: 1in; text-indent:
          -0.25in;"><font color="navy" face="Times New Roman" size="3"><span
              style="font-size: 12pt; color: navy;">1.<font face="Times
                New Roman" size="1"><span style="font: 7pt &quot;Times
                  New Roman&quot;;">&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: 0.5in;"><font
            color="navy" face="Arial" size="2"><span style="font-size:
              10pt; font-family: Arial; color: navy;">&nbsp;</span></font><u1:p></u1:p></p>
        <p class="MsoNormal" style="margin-left: 0.5in;"><font
            color="navy" face="Arial" size="2"><span style="font-size:
              10pt; font-family: Arial; color: navy;">Thoughts</span></font><u1:p></u1:p></p>
        <p class="MsoNormal" style="margin-left: 0.5in;"><font
            color="navy" face="Arial" size="2"><span style="font-size:
              10pt; font-family: Arial; color: navy;">&nbsp;</span></font><u1:p></u1:p></p>
        <p class="MsoNormal" style="margin-left: 1in; text-indent:
          -0.25in;"><font color="navy" face="Times New Roman" size="3"><span
              style="font-size: 12pt; color: navy;">1.<font face="Times
                New Roman" size="1"><span style="font: 7pt &quot;Times
                  New Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </span></font></span></font><font color="navy"
            face="Arial" size="2"><span style="font-size: 10pt;
              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: 0.5in;"><font
            color="navy" face="Arial" size="2"><span style="font-size:
              10pt; font-family: Arial; color: navy;">&nbsp;</span></font><u1:p></u1:p></p>
        <p class="MsoNormal" style="margin-left: 0.5in;"><font
            color="navy" face="Arial" size="2"><span style="font-size:
              10pt; font-family: Arial; color: navy;">&nbsp;</span></font><u1:p></u1:p></p>
        <p class="MsoNormal" style="margin-left: 0.5in;"><font
            color="navy" face="Arial" size="2"><span style="font-size:
              10pt; font-family: Arial; color: navy;">-- Dave Marion</span></font><u1:p></u1:p></p>
        <p class="MsoNormal" style="margin-left: 0.5in;"><font
            color="black" face="Times New Roman" size="3"><span
              style="font-size: 12pt;">&nbsp;</span></font></p>
        <p class="MsoNormal" style="margin-left: 0.5in;"><font
            color="black" face="Times New Roman" size="3"><span
              style="font-size: 12pt;"><br>
              Cheers,<br>
              Vladimir</span></font></p>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
infinispan-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/infinispan-dev">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a></pre>
    </blockquote>
    <br>
  </body>
</html>