ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » shared variable

Post new topic  Reply to topic
 shared variable « View previous topic :: View next topic » 
Author Message
paustin_ours
PostPosted: Tue May 27, 2014 5:10 am    Post subject: shared variable Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 667
Location: columbus,oh

each of our flows use about 600+ shared variables. Performance is not up to the mark. Memory usage is high. Is there a way to tell how much memory is used up by the shared variables like a statistic?
Back to top
View user's profile Send private message Yahoo Messenger
McueMart
PostPosted: Tue May 27, 2014 7:09 am    Post subject: Reply with quote

Chevalier

Joined: 29 Nov 2011
Posts: 490
Location: UK...somewhere

Unfortunately I don't think any kind of profiling tool exists for the Broker runtime. You might be able to use tools to inspect the broker memory to identify memory leaks but I have never tried this!

If you were doing everything in Java compute nodes it would be much easier
Back to top
View user's profile Send private message
Esa
PostPosted: Tue May 27, 2014 11:52 am    Post subject: Re: shared variable Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

paustin_ours wrote:
each of our flows use about 600+ shared variables.


I think shared variables are initialized upon deployment, but I'm not sure. I think you can see it if you run user trace while deploying.

But obviously a lot of the variables are initialized to NULL and set on runtime to values extracted from the messages. So checking the allocated memory immediately after deploying a flow onto an empty execution group doesn't necessarily show the real runtime memory consumption of the shared variables. And to be able to compare you should deploy a version of the same flow where you have replaced the keyword SHARED with an empty string.

IMHO using hundreds of shared variables in all flows is a symptom of systematic application of bad design. I hope you want to measure the memory consumption in order to be able to prove that?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » shared variable
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.