<!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 2.6.9-42.0.10.ELsmp<SPAN
class=609143016-29092008>, 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> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=609143016-29092008></SPAN></FONT></FONT></FONT> </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> </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 about 300 symbols and contains 30 simple rules. It works
fine when the market is quiet. It uses about 500 M in memory and
there is no big difference between reports from top and
jconsole. 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> </DIV>
<DIV><SPAN class=204521215-29092008><FONT face=Arial size=2>I used jmap
to check the memory map 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> </DIV>
<DIV><SPAN class=204521215-29092008><FONT face=Arial size=2>Thanks for your
help.</FONT></SPAN></DIV>
<DIV><SPAN class=204521215-29092008></SPAN> </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 information contained in the linked e-mail transmission and any attachments may be
<BR>privileged and confidential and is intended only for the use of the person(s) named in the
<BR>linked e-mail transmission. If you are not the intended recipient, or an employee or agent
<BR>responsible for delivering this message to the intended recipient, you should not review,
<BR>disseminate, distribute or duplicate this e-mail transmission or any attachments . If you
<BR>are not the intended recipient, please contact the sender immediately by reply e-mail and
<BR>destroy all copies of the original message. We do not accept account orders and/or
<BR>instructions related to AllianceBernstein products or services by e-mail, and therefore will
<BR>not be responsible for carrying out such orders and/or instructions. The linked e-mail
<BR>transmission and any attachments are provided for informational purposes only and should not
<BR>be construed in any manner as any solicitation or offer to buy or sell any investment
<BR>opportunities or any related financial instruments and should not be construed in any manner
<BR>as a public offer of any investment opportunities or any related financial instruments. If
<BR>you, as the intended recipient of the linked e-mail transmission, the purpose of which is to
<BR>inform and update our clients, prospects and consultants of developments relating to our
<BR>services and products, would not like to receive further e-mail correspondence from the
<BR>sender, please "reply" to the sender indicating your wishes. Although we attempt to sweep
<BR>e-mail and attachments for viruses, we will not be liable for any damages arising from the
<BR>alteration of the contents of this linked e-mail transmission and any attachments by a third
<BR>party or as a result of any virus being passed on.<BR><BR>Please note: <BR>Trading instructions sent electronically to Bernstein shall not be deemed accepted until a
<BR>representative of Bernstein acknowledges receipt electronically or by telephone. Comments in
<BR>the linked e-mail transmission and any attachments are part of a larger body of investment
<BR>analysis. For our research reports, which contain information that may be used to support
<BR>investment decisions, and disclosures, see our website at <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 information contained in the linked e-mail transmission and any attachments may be
<br>
privileged and confidential and is intended only for the use of the person(s) named in the
<br>
linked e-mail transmission. If you are not the intended recipient, or an employee or agent
<br>
responsible for delivering this message to the intended recipient, you should not review,
<br>
disseminate, distribute or duplicate this e-mail transmission or any attachments . If you
<br>
are not the intended recipient, please contact the sender immediately by reply e-mail and
<br>
destroy all copies of the original message. We do not accept account orders and/or
<br>
instructions related to AllianceBernstein products or services by e-mail, and therefore will
<br>
not be responsible for carrying out such orders and/or instructions. The linked e-mail
<br>
transmission and any attachments are provided for informational purposes only and should not
<br>
be construed in any manner as any solicitation or offer to buy or sell any investment
<br>
opportunities or any related financial instruments and should not be construed in any manner
<br>
as a public offer of any investment opportunities or any related financial instruments. If
<br>
you, as the intended recipient of the linked e-mail transmission, the purpose of which is to
<br>
inform and update our clients, prospects and consultants of developments relating to our
<br>
services and products, would not like to receive further e-mail correspondence from the
<br>
sender, please "reply" to the sender indicating your wishes. Although we attempt to sweep
<br>
e-mail and attachments for viruses, we will not be liable for any damages arising from the
<br>
alteration of the contents of this linked e-mail transmission and any attachments by a third
<br>
party or as a result of any virus being passed on.<br>
<br>
Please note: <br>
Trading instructions sent electronically to Bernstein shall not be deemed accepted until a
<br>
representative of Bernstein acknowledges receipt electronically or by telephone. Comments in
<br>
the linked e-mail transmission and any attachments are part of a larger body of investment
<br>
analysis. For our research reports, which contain information that may be used to support
<br>
investment decisions, and disclosures, see our website at www.bernsteinresearch.com.<br>
</td></tr></table></BODY></HTML>