IT Community - Software Programming, Web Development and Technical Support

BizTalk memory behavior

This is a discussion on BizTalk memory behavior within the Server Management forums, part of the Servers and Hosting category; BizTalk memory behavior Recently, as my application grew; the memory consumption of the bts service host had increased notably. We'...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Servers and Hosting > Server Management

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 06-10-2009, 07:00 PM
nnraja nnraja is offline
D-Web Sr.Programmer
 
Join Date: May 2007
Posts: 144
nnraja is on a distinguished road
Default BizTalk memory behavior

BizTalk memory behavior

Recently, as my application grew; the memory consumption of the bts service host had increased notably. We've looked to mitigate these effects by switching to "presumably less-consuming adapters" such as wcf. We've changed the variable/messages within the scopes hoping that this will decrease the memory consumption as well. Nothing seems to have worked.

In first instance, almost any orchestration get the memory on the loose, (400Mbs and so); so, as a consequence the system began to throttle due to the lack of system memory condition. If we cut the throttling lock, by setting to 0, the service will inevitable crash due to "sytem.outofmemoryex".

We use the sql adapter as well, we use maps that are not so complex, some are xslt inlined, some are direct linking, some are using external xslts.Our scopes a few of them are transactional, other are set to non-transactional, they are just catching exceptions.

So, the question is, what shapes are highly memory consumption, what recommendations are usually referred to avoid these high memory ?

* Using BTS2006R2.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 06-10-2009, 07:00 PM
shaalini shaalini is offline
D-Web Architect
 
Join Date: Apr 2007
Posts: 633
shaalini is on a distinguished road
Default Re: BizTalk memory behavior

Hi,

The first thing to do is try to find the specific component(s) (pipeline, adapter, orchestration, etc) that take so much memory. You can do this by using multiple hosts and assign different parts of your application to different hosts
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 06-10-2009, 07:01 PM
nnraja nnraja is offline
D-Web Sr.Programmer
 
Join Date: May 2007
Posts: 144
nnraja is on a distinguished road
Default Re: BizTalk memory behavior

Hi,

I tried to isolate this issue on the simplest orchestration, which only includes an interaction with an outside webservice published through the internet. Initially, we used the SOAP adapter but gradually changed to WCF-Custom adapter; now all ports are set to use this adaoter. Well, we changed some maps to perform using xslt only, no direct binding in the mapper by itself, to discard possible negative effects inducted by the mapper. The schema is part of a multipart message that was created through the web service discovery so a proxy was created to download all these schemas. It is a kind-of complex schema, it is long, BUT we use only like 15% of the whole schema.

So, here is my next question, memory-wise, what happens when we map complex schemas but you're not using the whole thing ? I've read about some properties, used commonly in the HL7, that is "GenerateDefaultFixedNodes", I tried by setting to "NO" in my original map, however was no use at all (same thing happened). By changing to xslt maps, the issue may disappear but there is still where you receive the response message (which is a message part of the complex schema).
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 06-10-2009, 07:01 PM
arjkhanna arjkhanna is offline
D-Web Incredible
 
Join Date: Mar 2007
Posts: 1,949
arjkhanna is on a distinguished road
Default Re: BizTalk memory behavior

Hi,

How much memory does the server have? Maybe it has too little memory for what your processing requires and you need to give it more memory. It isn't very difficult for a BizTalk host to use 400mb of memory if it is processing a lot of messages and orchestrations at the same time.
__________________
A.Rajesh Khanna
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
BizTalk map preserving whitespace arjkhanna Server Management 6 06-10-2009 10:15 PM
BizTalk 2006 and Virtualization bluesky Server Management 2 06-10-2009 03:15 AM
memcache commands and behavior prasath Database Support 4 09-27-2007 12:04 AM
Which technique we use to achieve polymorphic behavior of an object? anbuchezhians VB.NET Programming 1 08-01-2007 10:51 PM
Can anybody tell me Browser Differences in window.opener Behavior kingmaker HTML, CSS and Javascript Coding Techniques 2 07-23-2007 11:52 PM


All times are GMT -7. The time now is 10:52 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0