<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3354" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=609143016-29092008>It's </SPAN>Linux&nbsp;2.6.9-42.0.10.ELsmp<SPAN 
class=609143016-29092008>,&nbsp; with Sun jdk1.5.0_08. If top is not reliable, 
how should I detect if there is any native memory 
leak?</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=609143016-29092008></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=609143016-29092008></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=609143016-29092008>Thanks.</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=609143016-29092008>-Ping</SPAN></FONT></FONT></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> rules-users-bounces@lists.jboss.org 
[mailto:rules-users-bounces@lists.jboss.org] <B>On Behalf Of </B>Augusto 
Rodriguez<BR><B>Sent:</B> Monday, September 29, 2008 11:40 AM<BR><B>To:</B> 
Rules Users List<BR><B>Subject:</B> Re: [rules-users] memory issue when 
listening to market data<BR></FONT><BR></DIV>
<DIV></DIV>Hi Ping,<BR><BR>Which OS are you using? Because top doesn't work very 
well in all OSs (for example 
solaris).<BR><BR><BR>Cheers,<BR>Augusto<BR><BR>Cheng, Ping wrote: 
<BLOCKQUOTE 
cite=mid:EAF733FA81A60649A918A914551F1D2D044353DF@METROEVS2.ac.lp.acml.com 
type="cite">
  <META content="MSHTML 6.00.2900.3354" name=GENERATOR>
  <DIV><SPAN class=204521215-29092008><FONT face=Arial 
  size=2>All,</FONT></SPAN></DIV>
  <DIV><SPAN class=204521215-29092008></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=204521215-29092008><FONT face=Arial size=2>I wrote a server 
  which listens to the market data and generates alerts based on some 
  conditions.</FONT></SPAN></DIV>
  <DIV><SPAN class=204521215-29092008><FONT face=Arial size=2>It listens 
  to&nbsp;about 300 symbols and&nbsp;contains&nbsp; 30 simple rules. It works 
  fine when the&nbsp;market is quiet. It uses about 500 M in memory and 
  there&nbsp;is no big difference between reports from&nbsp;top and 
  jconsole.&nbsp;&nbsp;When market is busy, memory displayed in jconsole is 
  still ok, but top reports much more memory and it did not come down at all. 
  Sometimes it could reach 50G when it's a crazy day.</FONT></SPAN></DIV>
  <DIV><SPAN class=204521215-29092008></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=204521215-29092008><FONT face=Arial size=2>I used jmap 
  to&nbsp;check&nbsp;the memory map&nbsp;&nbsp;and it looks fine from java view, 
  I wonder if drools hold something when it's very busy? What is supposed to 
  happen if drools could not handle the work load?</FONT></SPAN></DIV>
  <DIV><SPAN class=204521215-29092008></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=204521215-29092008><FONT face=Arial size=2>Thanks for your 
  help.</FONT></SPAN></DIV>
  <DIV><SPAN class=204521215-29092008></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=204521215-29092008><FONT face=Arial 
  size=2>-Ping</FONT></SPAN></DIV><BR><BR>
  <TABLE style="COLOR: black" bgColor=white>
    <TBODY>
    <TR>
      <TD><BR><BR>-----------------------------------------<BR>The&nbsp;information&nbsp;contained&nbsp;in&nbsp;the&nbsp;linked&nbsp;e-mail&nbsp;transmission&nbsp;and&nbsp;any&nbsp;attachments&nbsp;may&nbsp;be&nbsp; 
        <BR>privileged&nbsp;and&nbsp;confidential&nbsp;and&nbsp;is&nbsp;intended&nbsp;only&nbsp;for&nbsp;the&nbsp;use&nbsp;of&nbsp;the&nbsp;person(s)&nbsp;named&nbsp;in&nbsp;the&nbsp; 
        <BR>linked&nbsp;e-mail&nbsp;transmission.&nbsp;If&nbsp;you&nbsp;are&nbsp;not&nbsp;the&nbsp;intended&nbsp;recipient,&nbsp;or&nbsp;an&nbsp;employee&nbsp;or&nbsp;agent&nbsp; 
        <BR>responsible&nbsp;for&nbsp;delivering&nbsp;this&nbsp;message&nbsp;to&nbsp;the&nbsp;intended&nbsp;recipient,&nbsp;you&nbsp;should&nbsp;not&nbsp;review,&nbsp; 
        <BR>disseminate,&nbsp;distribute&nbsp;or&nbsp;duplicate&nbsp;this&nbsp;e-mail&nbsp;transmission&nbsp;or&nbsp;any&nbsp;attachments&nbsp;.&nbsp;If&nbsp;you&nbsp; 
        <BR>are&nbsp;not&nbsp;the&nbsp;intended&nbsp;recipient,&nbsp;please&nbsp;contact&nbsp;the&nbsp;sender&nbsp;immediately&nbsp;by&nbsp;reply&nbsp;e-mail&nbsp;and&nbsp; 
        <BR>destroy&nbsp;all&nbsp;copies&nbsp;of&nbsp;the&nbsp;original&nbsp;message.&nbsp;We&nbsp;do&nbsp;not&nbsp;accept&nbsp;account&nbsp;orders&nbsp;and/or&nbsp; 
        <BR>instructions&nbsp;related&nbsp;to&nbsp;AllianceBernstein&nbsp;products&nbsp;or&nbsp;services&nbsp;by&nbsp;e-mail,&nbsp;and&nbsp;therefore&nbsp;will&nbsp; 
        <BR>not&nbsp;be&nbsp;responsible&nbsp;for&nbsp;carrying&nbsp;out&nbsp;such&nbsp;orders&nbsp;and/or&nbsp;instructions.&nbsp;The&nbsp;linked&nbsp;e-mail&nbsp; 
        <BR>transmission&nbsp;and&nbsp;any&nbsp;attachments&nbsp;are&nbsp;provided&nbsp;for&nbsp;informational&nbsp;purposes&nbsp;only&nbsp;and&nbsp;should&nbsp;not&nbsp; 
        <BR>be&nbsp;construed&nbsp;in&nbsp;any&nbsp;manner&nbsp;as&nbsp;any&nbsp;solicitation&nbsp;or&nbsp;offer&nbsp;to&nbsp;buy&nbsp;or&nbsp;sell&nbsp;any&nbsp;investment&nbsp; 
        <BR>opportunities&nbsp;or&nbsp;any&nbsp;related&nbsp;financial&nbsp;instruments&nbsp;and&nbsp;should&nbsp;not&nbsp;be&nbsp;construed&nbsp;in&nbsp;any&nbsp;manner&nbsp; 
        <BR>as&nbsp;a&nbsp;public&nbsp;offer&nbsp;of&nbsp;any&nbsp;investment&nbsp;opportunities&nbsp;or&nbsp;any&nbsp;related&nbsp;financial&nbsp;instruments.&nbsp;&nbsp;If&nbsp; 
        <BR>you,&nbsp;as&nbsp;the&nbsp;intended&nbsp;recipient&nbsp;of&nbsp;the&nbsp;linked&nbsp;e-mail&nbsp;transmission,&nbsp;the&nbsp;purpose&nbsp;of&nbsp;which&nbsp;is&nbsp;to&nbsp; 
        <BR>inform&nbsp;and&nbsp;update&nbsp;our&nbsp;clients,&nbsp;prospects&nbsp;and&nbsp;consultants&nbsp;of&nbsp;developments&nbsp;relating&nbsp;to&nbsp;our&nbsp; 
        <BR>services&nbsp;and&nbsp;products,&nbsp;would&nbsp;not&nbsp;like&nbsp;to&nbsp;receive&nbsp;further&nbsp;e-mail&nbsp;correspondence&nbsp;from&nbsp;the&nbsp; 
        <BR>sender,&nbsp;please&nbsp;"reply"&nbsp;to&nbsp;the&nbsp;sender&nbsp;indicating&nbsp;your&nbsp;wishes.&nbsp;&nbsp;Although&nbsp;we&nbsp;attempt&nbsp;to&nbsp;sweep&nbsp; 
        <BR>e-mail&nbsp;and&nbsp;attachments&nbsp;for&nbsp;viruses,&nbsp;we&nbsp;will&nbsp;not&nbsp;be&nbsp;liable&nbsp;for&nbsp;any&nbsp;damages&nbsp;arising&nbsp;from&nbsp;the&nbsp; 
        <BR>alteration&nbsp;of&nbsp;the&nbsp;contents&nbsp;of&nbsp;this&nbsp;linked&nbsp;e-mail&nbsp;transmission&nbsp;and&nbsp;any&nbsp;attachments&nbsp;by&nbsp;a&nbsp;third&nbsp; 
        <BR>party&nbsp;or&nbsp;as&nbsp;a&nbsp;result&nbsp;of&nbsp;any&nbsp;virus&nbsp;being&nbsp;passed&nbsp;on.<BR><BR>Please&nbsp;note:&nbsp;<BR>Trading&nbsp;instructions&nbsp;sent&nbsp;electronically&nbsp;to&nbsp;Bernstein&nbsp;shall&nbsp;not&nbsp;be&nbsp;deemed&nbsp;accepted&nbsp;until&nbsp;a&nbsp; 
        <BR>representative&nbsp;of&nbsp;Bernstein&nbsp;acknowledges&nbsp;receipt&nbsp;electronically&nbsp;or&nbsp;by&nbsp;telephone.&nbsp;Comments&nbsp;in&nbsp; 
        <BR>the&nbsp;linked&nbsp;e-mail&nbsp;transmission&nbsp;and&nbsp;any&nbsp;attachments&nbsp;are&nbsp;part&nbsp;of&nbsp;a&nbsp;larger&nbsp;body&nbsp;of&nbsp;investment&nbsp; 
        <BR>analysis.&nbsp;For&nbsp;our&nbsp;research&nbsp;reports,&nbsp;which&nbsp;contain&nbsp;information&nbsp;that&nbsp;may&nbsp;be&nbsp;used&nbsp;to&nbsp;support&nbsp; 
        <BR>investment&nbsp;decisions,&nbsp;and&nbsp;disclosures,&nbsp;see&nbsp;our&nbsp;website&nbsp;at&nbsp;<A 
        class=moz-txt-link-abbreviated 
        href="http://www.bernsteinresearch.com">www.bernsteinresearch.com</A>.<BR></TD></TR></TBODY></TABLE><PRE wrap=""><HR width="90%" SIZE=4>
_______________________________________________
rules-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</A>
<A class=moz-txt-link-freetext href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</A>
  </PRE></BLOCKQUOTE><br><br><table bgcolor=white style="color:black"><tr><td><br><br>
-----------------------------------------<br>
The&nbsp;information&nbsp;contained&nbsp;in&nbsp;the&nbsp;linked&nbsp;e-mail&nbsp;transmission&nbsp;and&nbsp;any&nbsp;attachments&nbsp;may&nbsp;be&nbsp; <br>
privileged&nbsp;and&nbsp;confidential&nbsp;and&nbsp;is&nbsp;intended&nbsp;only&nbsp;for&nbsp;the&nbsp;use&nbsp;of&nbsp;the&nbsp;person(s)&nbsp;named&nbsp;in&nbsp;the&nbsp; <br>
linked&nbsp;e-mail&nbsp;transmission.&nbsp;If&nbsp;you&nbsp;are&nbsp;not&nbsp;the&nbsp;intended&nbsp;recipient,&nbsp;or&nbsp;an&nbsp;employee&nbsp;or&nbsp;agent&nbsp; <br>
responsible&nbsp;for&nbsp;delivering&nbsp;this&nbsp;message&nbsp;to&nbsp;the&nbsp;intended&nbsp;recipient,&nbsp;you&nbsp;should&nbsp;not&nbsp;review,&nbsp; <br>
disseminate,&nbsp;distribute&nbsp;or&nbsp;duplicate&nbsp;this&nbsp;e-mail&nbsp;transmission&nbsp;or&nbsp;any&nbsp;attachments&nbsp;.&nbsp;If&nbsp;you&nbsp; <br>
are&nbsp;not&nbsp;the&nbsp;intended&nbsp;recipient,&nbsp;please&nbsp;contact&nbsp;the&nbsp;sender&nbsp;immediately&nbsp;by&nbsp;reply&nbsp;e-mail&nbsp;and&nbsp; <br>
destroy&nbsp;all&nbsp;copies&nbsp;of&nbsp;the&nbsp;original&nbsp;message.&nbsp;We&nbsp;do&nbsp;not&nbsp;accept&nbsp;account&nbsp;orders&nbsp;and/or&nbsp; <br>
instructions&nbsp;related&nbsp;to&nbsp;AllianceBernstein&nbsp;products&nbsp;or&nbsp;services&nbsp;by&nbsp;e-mail,&nbsp;and&nbsp;therefore&nbsp;will&nbsp; <br>
not&nbsp;be&nbsp;responsible&nbsp;for&nbsp;carrying&nbsp;out&nbsp;such&nbsp;orders&nbsp;and/or&nbsp;instructions.&nbsp;The&nbsp;linked&nbsp;e-mail&nbsp; <br>
transmission&nbsp;and&nbsp;any&nbsp;attachments&nbsp;are&nbsp;provided&nbsp;for&nbsp;informational&nbsp;purposes&nbsp;only&nbsp;and&nbsp;should&nbsp;not&nbsp; <br>
be&nbsp;construed&nbsp;in&nbsp;any&nbsp;manner&nbsp;as&nbsp;any&nbsp;solicitation&nbsp;or&nbsp;offer&nbsp;to&nbsp;buy&nbsp;or&nbsp;sell&nbsp;any&nbsp;investment&nbsp; <br>
opportunities&nbsp;or&nbsp;any&nbsp;related&nbsp;financial&nbsp;instruments&nbsp;and&nbsp;should&nbsp;not&nbsp;be&nbsp;construed&nbsp;in&nbsp;any&nbsp;manner&nbsp; <br>
as&nbsp;a&nbsp;public&nbsp;offer&nbsp;of&nbsp;any&nbsp;investment&nbsp;opportunities&nbsp;or&nbsp;any&nbsp;related&nbsp;financial&nbsp;instruments.&nbsp;&nbsp;If&nbsp; <br>
you,&nbsp;as&nbsp;the&nbsp;intended&nbsp;recipient&nbsp;of&nbsp;the&nbsp;linked&nbsp;e-mail&nbsp;transmission,&nbsp;the&nbsp;purpose&nbsp;of&nbsp;which&nbsp;is&nbsp;to&nbsp; <br>
inform&nbsp;and&nbsp;update&nbsp;our&nbsp;clients,&nbsp;prospects&nbsp;and&nbsp;consultants&nbsp;of&nbsp;developments&nbsp;relating&nbsp;to&nbsp;our&nbsp; <br>
services&nbsp;and&nbsp;products,&nbsp;would&nbsp;not&nbsp;like&nbsp;to&nbsp;receive&nbsp;further&nbsp;e-mail&nbsp;correspondence&nbsp;from&nbsp;the&nbsp; <br>
sender,&nbsp;please&nbsp;&quot;reply&quot;&nbsp;to&nbsp;the&nbsp;sender&nbsp;indicating&nbsp;your&nbsp;wishes.&nbsp;&nbsp;Although&nbsp;we&nbsp;attempt&nbsp;to&nbsp;sweep&nbsp; <br>
e-mail&nbsp;and&nbsp;attachments&nbsp;for&nbsp;viruses,&nbsp;we&nbsp;will&nbsp;not&nbsp;be&nbsp;liable&nbsp;for&nbsp;any&nbsp;damages&nbsp;arising&nbsp;from&nbsp;the&nbsp; <br>
alteration&nbsp;of&nbsp;the&nbsp;contents&nbsp;of&nbsp;this&nbsp;linked&nbsp;e-mail&nbsp;transmission&nbsp;and&nbsp;any&nbsp;attachments&nbsp;by&nbsp;a&nbsp;third&nbsp; <br>
party&nbsp;or&nbsp;as&nbsp;a&nbsp;result&nbsp;of&nbsp;any&nbsp;virus&nbsp;being&nbsp;passed&nbsp;on.<br>
<br>
Please&nbsp;note:&nbsp;<br>
Trading&nbsp;instructions&nbsp;sent&nbsp;electronically&nbsp;to&nbsp;Bernstein&nbsp;shall&nbsp;not&nbsp;be&nbsp;deemed&nbsp;accepted&nbsp;until&nbsp;a&nbsp; <br>
representative&nbsp;of&nbsp;Bernstein&nbsp;acknowledges&nbsp;receipt&nbsp;electronically&nbsp;or&nbsp;by&nbsp;telephone.&nbsp;Comments&nbsp;in&nbsp; <br>
the&nbsp;linked&nbsp;e-mail&nbsp;transmission&nbsp;and&nbsp;any&nbsp;attachments&nbsp;are&nbsp;part&nbsp;of&nbsp;a&nbsp;larger&nbsp;body&nbsp;of&nbsp;investment&nbsp; <br>
analysis.&nbsp;For&nbsp;our&nbsp;research&nbsp;reports,&nbsp;which&nbsp;contain&nbsp;information&nbsp;that&nbsp;may&nbsp;be&nbsp;used&nbsp;to&nbsp;support&nbsp; <br>
investment&nbsp;decisions,&nbsp;and&nbsp;disclosures,&nbsp;see&nbsp;our&nbsp;website&nbsp;at&nbsp;www.bernsteinresearch.com.<br>
</td></tr></table></BODY></HTML>