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 » JVM Heap Size Question

Post new topic  Reply to topic
 JVM Heap Size Question « View previous topic :: View next topic » 
Author Message
achocks
PostPosted: Thu Jul 05, 2012 7:29 am    Post subject: JVM Heap Size Question Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

I don't use any Java Compute Node or Java intensively in my flows.

I want to handle large messages in my flow. I am confused with the JVM heap size.

Do I need to increase the Heap Size or decrease that JVM Heap Size to give more capacity to a message flow.

Also please let me know if you have any advice on increasing the througput and handling big messages.

So far I have done the following.

STOPPED THE TRACES. (My thougtput has increased a little. Still looking for ways to improve)

Thanks in advance!
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Jul 05, 2012 7:33 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

What version of WMB are you using? What is the "effective level" of the runtime?

In general, no change from the default values is required.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Jul 05, 2012 7:38 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

If you want to understand how the performance of Broker is measured and managed, you need to read the performance reports on Broker.
Back to top
View user's profile Send private message
achocks
PostPosted: Thu Jul 05, 2012 7:55 am    Post subject: JVM Heap Size Question Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

Broker we use is WMB 7.0 and the default Heap memory is 512 MB.
Back to top
View user's profile Send private message
achocks
PostPosted: Thu Jul 05, 2012 7:58 am    Post subject: JVM Heap Size Question Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

Thanks MqJeff..Will read some usage reports. Can you please tell me whether I should increase the 512 MB to 2 GB or something to handle big messages?

Thanks in advance!
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 05, 2012 8:00 am    Post subject: Re: JVM Heap Size Question Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

achocks wrote:
Can you please tell me whether I should increase the 512 MB to 2 GB or something to handle big messages?


Can you tell us how big these big messages are & what transport protocol they arrive on (file, WMQ, web service, etc, etc)?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
achocks
PostPosted: Thu Jul 05, 2012 8:01 am    Post subject: JVM Heap Size Question Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

When I mean big messages ...it is around 10MB. We will be using HTTP protocol.

Thanks!
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 05, 2012 8:13 am    Post subject: Re: JVM Heap Size Question Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

achocks wrote:
When I mean big messages ...it is around 10MB. We will be using HTTP protocol.


Depending on the effective level of your broker (which I'm surprised my associate hasn't pulled you up on - WMBv7.0 has a number of levels by now) I'd not consider 10Mb "big" or that any changes would be needed.

Unless you've tried a message & hit a problem. In which case:

- what problem?
- why not look at the usage reports for tuning oppertunities including but not limited to heap size?
- have you reviewed your code to ensure it's efficiently handling the non-trivial message
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Jul 05, 2012 8:52 am    Post subject: Re: JVM Heap Size Question Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

achocks wrote:
Broker we use is WMB 7.0 and the default Heap memory is 512 MB.


WMB version numbers have four digits, not two. And you didnt answer my question about effective level.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu Jul 05, 2012 9:01 am    Post subject: Re: JVM Heap Size Question Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

lancelotlinc wrote:
achocks wrote:
Broker we use is WMB 7.0 and the default Heap memory is 512 MB.


WMB version numbers have four digits, not two. And you didnt answer my question about effective level.


There he is.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Jul 05, 2012 2:33 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

So you're using HTTP. But you still don't know whether the JVM heap size will make any difference to your message flow. That will depend on the domain that your message flow is using. Some parsers make use of Java, some do not.

If you are expecting to receive 'big' messages then increasing heap size, stack size or JVM heap size are all rather blunt instruments. If ( when? ) your messages get even bigger then you may eventually be forced to redesign the message flows. It might be better to design the message flows to use memory efficiently - there are some well-documented techniques for doing that ( e.g. http://www.ibm.com/developerworks/websphere/library/techarticles/0505_storey/0505_storey.html ).
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 » JVM Heap Size Question
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.