Hi again,<br><br>I have tried the same test with Eclipse and your suggestions worked fine. I managed to scale up my simple experiment to 1000 agents with no problem and I am only having a difficulty with 2000 which could be down again to certain settings such as number of threads in the pool. I can only assume that NetBeans and the Idistro&nbsp; CougaarDev module do not work as they should. I also assume that you guys all use Eclipse and CougaarIDE for your development which can make the difference. It would be worth putting down your suggestion for preferred IDE. <br>
<br>Are the warnings:<br><br>WARN &nbsp;[DirectSysStatSupplier] - No handler for Memory on platform Mac OS X<br>
WARN &nbsp;[DirectSysStatSupplier] - No handler for CPU on platform Mac OS X<br>
WARN &nbsp;[DirectSysStatSupplier] - No handler for Sockets on platform Mac OS X<br><br>something serious I have to look into? Do you believe they would cause a problem later on?<br><br><br>Many Thanks<br>Dimitri<br><br><br><br>
<br><br><br><br><div><span class="gmail_quote">On 05/03/2008, <b class="gmail_sendername">Todd Wright</b> &lt;<a href="mailto:twright@bbn.com">twright@bbn.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dimitrios Traskas wrote:<br> &gt; Hi there<br> &gt;<br> &gt; thanks for the replies. I have tried to set the&nbsp;&nbsp;&lt;vm_parameter&gt;<br> &gt; -Xmx1024m &lt;/vm_parameter&gt; in my society.xml file within my project and<br> &gt; no luck. I also modified the configuration file of Netbeans to increase<br>
 &gt; the Java heap space to 1GB and no luck with that either.<br> <br> <br>Are you sure this value is being passed to the JVM?<br> <br> Try adding this to your test plugin:<br>&nbsp;&nbsp; System.out.println(&quot;Max heap size: &quot;+Runtime.getRuntime().maxMemory());<br>
 <br> I tested this on my Linux box.&nbsp;&nbsp;With no &quot;-Xmx&quot; it prints:<br>&nbsp;&nbsp; Max heap size: 66650112&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(64mb)<br> With &quot;-Xmx1024m&quot; it prints:<br>&nbsp;&nbsp; Max heap size: 1065484288&nbsp;&nbsp;&nbsp;&nbsp;(1016mb)<br> <br><br> &gt; I then looked<br>
 &gt; at the parameters in SimpleAgent.xsl and I could not understand what I<br> &gt; need to change there.<br> <br> <br>You shouldn&#39;t need to edit that file.&nbsp;&nbsp;There are some -D flags you could set,<br> but that should not be necessary.&nbsp;&nbsp;For details, see:<br>
&nbsp;&nbsp; <a href="http://cougaar.cougaar.org/software/latest/OnlineManual/Templates.html">http://cougaar.cougaar.org/software/latest/OnlineManual/Templates.html</a><br> <br><br> &gt; Is there an example that I can use, apart from the<br>
 &gt; code examples in ping and mesh tutorials?<br> <br> <br>No, I think your simple example is the right place to start.<br> <br> I think that the -Xmx value is not being passed to the JVM, as noted above.<br> <br><br> &gt;<br>
 &gt; Sorry for the repeated questions but I do need to get to the bottom of<br> &gt; this. Do you think there might be a problem with using Netbeans and the<br> &gt; Idistro module instead of Eclipse?<br> <br> <br>I don&#39;t know how that IDE passes the -D and -X flags to the JVM.<br>
 <br> You might want to try running your example from the command line.<br> <br> Todd<br> <br> &gt;<br> &gt;<br> &gt; Thanks<br> &gt; Dimitri<br> </blockquote></div><br>