[rules-users] memory issue when listening to market data

Cheng, Ping Ping.Cheng at bernstein.com
Mon Sep 29 12:32:58 EDT 2008


It's Linux 2.6.9-42.0.10.ELsmp,  with Sun jdk1.5.0_08. If top is not
reliable, how should I detect if there is any native memory leak?
 
 
Thanks.
-Ping

________________________________

From: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Augusto
Rodriguez
Sent: Monday, September 29, 2008 11:40 AM
To: Rules Users List
Subject: Re: [rules-users] memory issue when listening to market data


Hi Ping,

Which OS are you using? Because top doesn't work very well in all OSs
(for example solaris).


Cheers,
Augusto

Cheng, Ping wrote: 

	All,
	 
	I wrote a server which listens to the market data and generates
alerts based on some conditions.
	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.
	 
	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?
	 
	Thanks for your help.
	 
	-Ping




-----------------------------------------
The information contained in the linked e-mail transmission and any
attachments may be  
privileged and confidential and is intended only for the use of the
person(s) named in the  
linked e-mail transmission. If you are not the intended recipient, or an
employee or agent  
responsible for delivering this message to the intended recipient, you
should not review,  
disseminate, distribute or duplicate this e-mail transmission or any
attachments . If you  
are not the intended recipient, please contact the sender immediately by
reply e-mail and  
destroy all copies of the original message. We do not accept account
orders and/or  
instructions related to AllianceBernstein products or services by
e-mail, and therefore will  
not be responsible for carrying out such orders and/or instructions. The
linked e-mail  
transmission and any attachments are provided for informational purposes
only and should not  
be construed in any manner as any solicitation or offer to buy or sell
any investment  
opportunities or any related financial instruments and should not be
construed in any manner  
as a public offer of any investment opportunities or any related
financial instruments.  If  
you, as the intended recipient of the linked e-mail transmission, the
purpose of which is to  
inform and update our clients, prospects and consultants of developments
relating to our  
services and products, would not like to receive further e-mail
correspondence from the  
sender, please "reply" to the sender indicating your wishes.  Although
we attempt to sweep  
e-mail and attachments for viruses, we will not be liable for any
damages arising from the  
alteration of the contents of this linked e-mail transmission and any
attachments by a third  
party or as a result of any virus being passed on.

Please note: 
Trading instructions sent electronically to Bernstein shall not be
deemed accepted until a  
representative of Bernstein acknowledges receipt electronically or by
telephone. Comments in  
the linked e-mail transmission and any attachments are part of a larger
body of investment  
analysis. For our research reports, which contain information that may
be used to support  
investment decisions, and disclosures, see our website at
www.bernsteinresearch.com.
	
	
________________________________


	_______________________________________________
	rules-users mailing list
	rules-users at lists.jboss.org
	https://lists.jboss.org/mailman/listinfo/rules-users
	  


-----------------------------------------
The information contained in the linked e-mail transmission and any attachments may be 

privileged and confidential and is intended only for the use of the person(s) named in the 

linked e-mail transmission. If you are not the intended recipient, or an employee or agent 

responsible for delivering this message to the intended recipient, you should not review, 

disseminate, distribute or duplicate this e-mail transmission or any attachments . If you 

are not the intended recipient, please contact the sender immediately by reply e-mail and 

destroy all copies of the original message. We do not accept account orders and/or 

instructions related to AllianceBernstein products or services by e-mail, and therefore will 

not be responsible for carrying out such orders and/or instructions. The linked e-mail 

transmission and any attachments are provided for informational purposes only and should not 

be construed in any manner as any solicitation or offer to buy or sell any investment 

opportunities or any related financial instruments and should not be construed in any manner 

as a public offer of any investment opportunities or any related financial instruments.  If 

you, as the intended recipient of the linked e-mail transmission, the purpose of which is to 

inform and update our clients, prospects and consultants of developments relating to our 

services and products, would not like to receive further e-mail correspondence from the 

sender, please "reply" to the sender indicating your wishes.  Although we attempt to sweep 

e-mail and attachments for viruses, we will not be liable for any damages arising from the 

alteration of the contents of this linked e-mail transmission and any attachments by a third 

party or as a result of any virus being passed on.

Please note: 
Trading instructions sent electronically to Bernstein shall not be deemed accepted until a 

representative of Bernstein acknowledges receipt electronically or by telephone. Comments in 

the linked e-mail transmission and any attachments are part of a larger body of investment 

analysis. For our research reports, which contain information that may be used to support 

investment decisions, and disclosures, see our website at www.bernsteinresearch.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080929/0ce028c1/attachment.html 


More information about the rules-users mailing list