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

Cheng, Ping Ping.Cheng at bernstein.com
Mon Sep 29 13:06:27 EDT 2008


Ingomar,

I tried jmap -heap:format=b, but got some errors and jhat could not
parse the dump file.
Then I tried jmap -histo and I added up all objects' memory and it
pretty much matched what I saw from jconsole.

Is there any chance that jmap -histo and -heap return different result?

Thanks.
-Ping

-----Original Message-----
From: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Ingomar Otter
Sent: Monday, September 29, 2008 12:47 PM
To: Rules Users List
Subject: Re: [rules-users] memory issue when listening to market data

Given the information remote diagnosis is not feasible.
I would suggest to have a look at the heap ... to see where things are  
going.
See
http://weblogs.java.net/blog/kellyohair/archive/2005/09/heap_dump_snaps.
html

--Ingomar

Am 29.09.2008 um 17:30 schrieb Cheng, Ping:

> 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

_______________________________________________
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.





More information about the rules-users mailing list