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 » Fail to allocate memory

Post new topic  Reply to topic
 Fail to allocate memory « View previous topic :: View next topic » 
Author Message
WBI_user
PostPosted: Fri Jan 09, 2009 8:19 am    Post subject: Fail to allocate memory Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

We are running WMB V6 CSD 05 on AIX. We have a simple flow
MQINPUT- MAPPING-MQOUTPUT
The MAP was written to handle products in a sotre. The mapping is not complicated but it has to loop through a large number of repeated records which represent a product. The INPUT is XML message.
In one situation we have a 26M imput message containing 90,000 records, the EG blow up with fail to allocate memory.
We retry the message in our test environment with only the failing flow in its own EG. We also monitor the usage of the EG while the flow is running.
The same message runs fine the first time. The memory used by the EG rises from 400+ M to about 650M and stays there when the flow completes with no failure. We then try with 2 of the same message on the INPUT queue. The EG will always blow up with fail to allocate memory on the second message. Our memory monitor shows that the memory used by the EG when handling the 2nd message rises to exceed 1G which is our limit.
I was under the impression that all memory can be re-used after the first message is done with the flow.
Why is this failing on the second run ? I know that there are things that developers we can do on making the flow more memory efficient. But we (administrators) need some facts before we can ask developers to change their code. Any help on this wil be greatly appreciated.
Back to top
View user's profile Send private message
j.f.sorge
PostPosted: Fri Jan 09, 2009 10:31 am    Post subject: Reply with quote

Master

Joined: 27 Feb 2008
Posts: 218

I am sure there was a topic like this before. http://www.mqseries.net/phpBB2/viewtopic.php?t=46564
I am a developer and had the same problem with huge messages and had no work around for it. The problem occured on solaris and there you can get 4GB of memory but that was not enough as message broker does not free the used memory (as you would probably think). It keeps all the memory allocated until there is none anymore and restarts the whole execution group...
_________________
IBM Certified Solution Designer - WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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 » Fail to allocate memory
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.