Microsoft KB Archive/917839

= You may experience System.OutOfMemory exceptions or Visual Studio 2005 may stop responding when you validate a BizTalk Server 2006 map =

Article ID: 917839

Article Last Modified on 5/3/2006

-

APPLIES TO


 * Microsoft BizTalk Server 2006 Standard Edition
 * Microsoft BizTalk Server 2006 Developer Edition
 * Microsoft BizTalk Server 2006 Enterprise Edition

-





SYMPTOMS
You may experience high memory usage in Microsoft Visual Studio 2005 when you validate a Microsoft BizTalk Server 2006 map. When this issue occurs, you may experience System.OutOfMemory exceptions, or Visual Studio 2005 may stop responding.



CAUSE
This issue occurs when the source or destination schema is very complex. For example, this issue may occur when a schema contains deeply nested structures.



WORKAROUND
To work around this issue, set the GenerateDefaultFixedNodes attribute to No in the .btm file before you compile the map. To set the GenerateDefaultFixedNodes attribute to No, follow these steps:  Click Start, click Run, type notepad, and then click OK . Click File, and then click Open. In the Files of type list, click All Files. Locate and then click the .btm file that you want, and then click Open.  In Notepad, manually add the GenerateDefaultFixedNodes='No' attribute to the mapsource element. The modified mapsource element may resemble the following code example.  On the File menu, click Save.</li> On the File menu, click Exit.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="references_section">