<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
same result.<BR> <BR>
<HR id=stopSpelling>
Date: Mon, 17 Jan 2011 11:54:15 -0300<BR>From: vblagoje@redhat.com<BR>To: infinispan-dev@lists.jboss.org<BR>Subject: Re: [infinispan-dev] ISPN-863 - Thoughts / Questions<BR><BR>
<META name=Generator content="Microsoft SafeHTML">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=ecxmoz-txt-link-freetext href="http://community.jboss.org/wiki/InfinispanandMaven" target=_blank>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>
<STYLE>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman';color:black;}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass span.ecxEmailStyle17
{font-family:Arial;color:navy;}
@page Section1
{size:8.5in 11.0in;}
.ExternalClass div.ecxSection1
{page:Section1;}
.ExternalClass ol
{margin-bottom:0in;}
.ExternalClass ul
{margin-bottom:0in;}
</STYLE>
<DIV class=ecxSection1>
<P class=ecxMsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">All,</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"> </SPAN></FONT></P>
<P style="TEXT-INDENT: 6pt" class=ecxMsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">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 style="TEXT-INDENT: 6pt" class=ecxMsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"> </SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">java.lang.OutOfMemoryError: Java heap space</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.util.concurrent.BoundedConcurrentHashMap$HashEntry.newArray(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">BoundedConcurrentHashMap.java:295</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.util.concurrent.BoundedConcurrentHashMap$Segment.<init>(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">BoundedConcurrentHashMap.java:898</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.util.concurrent.BoundedConcurrentHashMap.<init>(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">BoundedConcurrentHashMap.java:1367</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.container.DefaultDataContainer.<init>(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">DefaultDataContainer.java:78</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.container.DefaultDataContainer.<init>(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">DefaultDataContainer.java:47</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.container.DefaultDataContainer.unBoundedDataContainer(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">DefaultDataContainer.java:93</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.DataContainerFactory.construct(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">DataContainerFactory.java:53</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">AbstractComponentRegistry.java:315</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">AbstractComponentRegistry.java:251</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">AbstractComponentRegistry.java:840</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">AbstractComponentRegistry.java:225</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.ComponentRegistry.registerComponent(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">ComponentRegistry.java:120</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">AbstractComponentRegistry.java:192</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">AbstractComponentRegistry.java:323</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">AbstractComponentRegistry.java:251</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">AbstractComponentRegistry.java:840</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">AbstractComponentRegistry.java:225</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.ComponentRegistry.registerComponent(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">ComponentRegistry.java:120</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">AbstractComponentRegistry.java:192</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">AbstractComponentRegistry.java:323</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">AbstractComponentRegistry.java:251</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">AbstractComponentRegistry.java:840</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">AbstractComponentRegistry.java:225</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.ComponentRegistry.registerComponent(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">ComponentRegistry.java:120</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">AbstractComponentRegistry.java:192</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.InternalCacheFactory.bootstrap(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">InternalCacheFactory.java:92</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.InternalCacheFactory.createAndWire(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">InternalCacheFactory.java:78</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.factories.InternalCacheFactory.createCache(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">InternalCacheFactory.java:62</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.manager.DefaultCacheManager.createCache(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">DefaultCacheManager.java:510</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.manager.DefaultCacheManager.getCache(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">DefaultCacheManager.java:440</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.manager.DefaultCacheManager.getCache(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">DefaultCacheManager.java:409</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> at org.infinispan.config.ConfigurationValidationTest.testDefaultMemoryGuardConfiguration(</SPAN></FONT><U><FONT color=navy size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier
New'; COLOR: navy; FONT-SIZE: 10pt">ConfigurationValidationTest.java:100</SPAN></FONT></U><FONT size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">)</SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=black size=2 face="Courier New"><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: windowtext; FONT-SIZE: 10pt"> </SPAN></FONT></P>
<P style="TEXT-INDENT: 6pt" class=ecxMsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"> </SPAN></FONT></P>
<P class=ecxMsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"> </SPAN></FONT></P>
<P style="MARGIN-LEFT: 0.5in" class=ecxMsoNormal><FONT color=black size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; COLOR: windowtext; FONT-SIZE: 10pt">-----Original Message-----<BR><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> <A class=ecxmoz-txt-link-abbreviated href="mailto:infinispan-dev-bounces@lists.jboss.org">infinispan-dev-bounces@lists.jboss.org</A> [<A class=ecxmoz-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 style="MARGIN-LEFT: 0.5in" class=ecxMsoNormal><FONT color=black size=3 face="Times New Roman"><SPAN style="FONT-SIZE: 12pt"> </SPAN></FONT></P>
<P style="MARGIN-LEFT: 0.5in" class=ecxMsoNormal><FONT color=black size=3 face="Times New Roman"><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 style="TEXT-INDENT: -0.25in; MARGIN-LEFT: 1in" class=ecxMsoNormal><FONT color=navy size=3 face="Times New Roman"><SPAN style="COLOR: navy; FONT-SIZE: 12pt">1.<FONT size=1 face="Times New Roman"><SPAN style="FONT: 7pt 'Times
New Roman'"> </SPAN></FONT></SPAN></FONT><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">Modify configuration in some way so that the following can be specified:</SPAN></FONT></P>
<P style="TEXT-INDENT: -0.25in; MARGIN-LEFT: 1.5in" class=ecxMsoNormal><FONT color=navy size=3 face="Times New Roman"><SPAN style="COLOR: navy; FONT-SIZE: 12pt">a.<FONT size=1 face="Times New Roman"><SPAN style="FONT: 7pt 'Times
New Roman'"> </SPAN></FONT></SPAN></FONT><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">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>
<P style="TEXT-INDENT: -0.25in; MARGIN-LEFT: 1.5in" class=ecxMsoNormal><FONT color=navy size=3 face="Times New Roman"><SPAN style="COLOR: navy; FONT-SIZE: 12pt">b.<FONT size=1 face="Times New Roman"><SPAN style="FONT: 7pt 'Times
New Roman'"> </SPAN></FONT></SPAN></FONT><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">The number of items that should be evicted when memory reaches this threshold</SPAN></FONT></P>
<P style="TEXT-INDENT: -0.25in; MARGIN-LEFT: 1in" class=ecxMsoNormal><FONT color=navy size=3 face="Times New Roman"><SPAN style="COLOR: navy; FONT-SIZE: 12pt">2.<FONT size=1 face="Times New Roman"><SPAN style="FONT: 7pt 'Times
New Roman'"> </SPAN></FONT></SPAN></FONT><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">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’t have to be maintained.</SPAN></FONT></P>
<P style="TEXT-INDENT: -0.25in; MARGIN-LEFT: 1in" class=ecxMsoNormal><FONT color=navy size=3 face="Times New Roman"><SPAN style="COLOR: navy; FONT-SIZE: 12pt">3.<FONT size=1 face="Times New Roman"><SPAN style="FONT: 7pt 'Times
New Roman'"> </SPAN></FONT></SPAN></FONT><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">Create a new Eviction class, a subclass of 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>
<P style="TEXT-INDENT: -0.25in; MARGIN-LEFT: 1in" class=ecxMsoNormal><FONT color=navy size=3 face="Times New Roman"><SPAN style="COLOR: navy; FONT-SIZE: 12pt">4.<FONT size=1 face="Times New Roman"><SPAN style="FONT: 7pt 'Times
New Roman'"> </SPAN></FONT></SPAN></FONT><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">Modify DataContainerFactory.construct() to call DefaultDataContainer.boundedDataContainer() regardless of eviction policy. This will always create a BoundedConcurrentHashMap</SPAN></FONT></P>
<P style="MARGIN-LEFT: 0.5in" class=ecxMsoNormal><FONT color=black size=3 face="Times New Roman"><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 style="TEXT-INDENT: -0.25in; MARGIN-LEFT: 1in" class=ecxMsoNormal><FONT color=navy size=3 face="Times New Roman"><SPAN style="COLOR: navy; FONT-SIZE: 12pt">1.<FONT size=1 face="Times New Roman"><SPAN style="FONT: 7pt 'Times
New Roman'"> </SPAN></FONT></SPAN></FONT><FONT color=navy><SPAN style="COLOR: navy"> </SPAN></FONT></P>
<P style="TEXT-INDENT: -0.25in; MARGIN-LEFT: 1in" class=ecxMsoNormal><FONT color=navy size=3 face="Times New Roman"><SPAN style="COLOR: navy; FONT-SIZE: 12pt">2.<FONT size=1 face="Times New Roman"><SPAN style="FONT: 7pt 'Times
New Roman'"> </SPAN></FONT></SPAN></FONT><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">Create an instance of the new Eviction class in each segment.</SPAN></FONT></P>
<P style="TEXT-INDENT: -0.25in; MARGIN-LEFT: 1in" class=ecxMsoNormal><FONT color=navy size=3 face="Times New Roman"><SPAN style="COLOR: navy; FONT-SIZE: 12pt">3.<FONT size=1 face="Times New Roman"><SPAN style="FONT: 7pt 'Times
New Roman'"> </SPAN></FONT></SPAN></FONT><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">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 style="MARGIN-LEFT: 0.5in" class=ecxMsoNormal><FONT color=black size=3 face="Times New Roman"><SPAN style="FONT-SIZE: 12pt"><BR>Sounds right!<BR><BR><BR></SPAN></FONT></P>
<P style="TEXT-INDENT: -0.25in; MARGIN-LEFT: 1in" class=ecxMsoNormal><FONT color=navy size=3 face="Times New Roman"><SPAN style="COLOR: navy; FONT-SIZE: 12pt">1.<FONT size=1 face="Times New Roman"><SPAN style="FONT: 7pt 'Times
New Roman'"> </SPAN></FONT></SPAN></FONT><FONT color=navy><SPAN style="COLOR: navy"> </SPAN></FONT></P>
<P style="MARGIN-LEFT: 0.5in" class=ecxMsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"> </SPAN></FONT></P>
<P style="MARGIN-LEFT: 0.5in" class=ecxMsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">Questions:</SPAN></FONT></P>
<P style="MARGIN-LEFT: 0.5in" class=ecxMsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"> </SPAN></FONT></P>
<P style="TEXT-INDENT: -0.25in; MARGIN-LEFT: 1in" class=ecxMsoNormal><FONT color=navy size=3 face="Times New Roman"><SPAN style="COLOR: navy; FONT-SIZE: 12pt">1.<FONT size=1 face="Times New Roman"><SPAN style="FONT: 7pt 'Times
New Roman'"> </SPAN></FONT></SPAN></FONT><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">What are the implications of using a BoundedConcurrentHashMap instead of a ConcurrentHashMap when maxEntries is set to -1?</SPAN></FONT></P>
<P style="MARGIN-LEFT: 0.5in" class=ecxMsoNormal><FONT color=black size=3 face="Times New Roman"><SPAN style="FONT-SIZE: 12pt"><BR>I think none except you turn on eviction by using BoundedConcurrentHashMap.<BR><BR><BR></SPAN></FONT></P>
<P style="TEXT-INDENT: -0.25in; MARGIN-LEFT: 1in" class=ecxMsoNormal><FONT color=navy size=3 face="Times New Roman"><SPAN style="COLOR: navy; FONT-SIZE: 12pt">1.<FONT size=1 face="Times New Roman"><SPAN style="FONT: 7pt 'Times
New Roman'"> </SPAN></FONT></SPAN></FONT><FONT color=navy><SPAN style="COLOR: navy"> </SPAN></FONT></P>
<P style="MARGIN-LEFT: 0.5in" class=ecxMsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"> </SPAN></FONT></P>
<P style="MARGIN-LEFT: 0.5in" class=ecxMsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">Thoughts</SPAN></FONT></P>
<P style="MARGIN-LEFT: 0.5in" class=ecxMsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"> </SPAN></FONT></P>
<P style="TEXT-INDENT: -0.25in; MARGIN-LEFT: 1in" class=ecxMsoNormal><FONT color=navy size=3 face="Times New Roman"><SPAN style="COLOR: navy; FONT-SIZE: 12pt">1.<FONT size=1 face="Times New Roman"><SPAN style="FONT: 7pt 'Times
New Roman'"> </SPAN></FONT></SPAN></FONT><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">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>
<P style="MARGIN-LEFT: 0.5in" class=ecxMsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"> </SPAN></FONT></P>
<P style="MARGIN-LEFT: 0.5in" class=ecxMsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"> </SPAN></FONT></P>
<P style="MARGIN-LEFT: 0.5in" class=ecxMsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">-- Dave Marion</SPAN></FONT></P>
<P style="MARGIN-LEFT: 0.5in" class=ecxMsoNormal><FONT color=black size=3 face="Times New Roman"><SPAN style="FONT-SIZE: 12pt"> </SPAN></FONT></P>
<P style="MARGIN-LEFT: 0.5in" class=ecxMsoNormal><FONT color=black size=3 face="Times New Roman"><SPAN style="FONT-SIZE: 12pt"><BR>Cheers,<BR>Vladimir</SPAN></FONT></P></DIV><PRE><FIELDSET class=ecxmimeAttachmentHeader></FIELDSET>
_______________________________________________
infinispan-dev mailing list
<A class=ecxmoz-txt-link-abbreviated href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</A>
<A class=ecxmoz-txt-link-freetext href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target=_blank>https://lists.jboss.org/mailman/listinfo/infinispan-dev</A></PRE></BLOCKQUOTE><BR><BR>_______________________________________________ infinispan-dev mailing list infinispan-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/infinispan-dev                                            </body>
</html>