<!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">
Hi Ping,<br>
<br>
For Linux it works fine, but bear in mind that top also reports all the
memory used by shared libraries (libraries used also by other
applications) as part of the memory used by that process.<br>
<br>
<br>
Cheers,<br>
Augusto<br>
<br>
Cheng, Ping wrote:
<blockquote
 cite="mid:EAF733FA81A60649A918A914551F1D2D044353E0@METROEVS2.ac.lp.acml.com"
 type="cite">
  <title></title>
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta content="MSHTML 6.00.2900.3354" name="GENERATOR">
  <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" dir="ltr" align="left" lang="en-us">
  <hr tabindex="-1"><font face="Tahoma" size="2"><b>From:</b>
<a class="moz-txt-link-abbreviated" href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a>
[<a class="moz-txt-link-freetext" href="mailto:rules-users-bounces@lists.jboss.org">mailto:rules-users-bounces@lists.jboss.org</a>] <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>
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
 moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="http://www.bernsteinresearch.com">www.bernsteinresearch.com</a>.<br>
          </td>
        </tr>
      </tbody>
    </table>
    <pre wrap=""><hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a moz-do-not-send="true" 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 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 size="4" width="90%">
_______________________________________________
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>
</body>
</html>