Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


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:
  1. Click Start, click Run, type notepad, and then click OK.
  2. Click File, and then click Open.
  3. In the Files of type list, click All Files.
  4. Locate and then click the .btm file that you want, and then click Open.
  5. In Notepad, manually add the GenerateDefaultFixedNodes='No' attribute to the mapsource element. The modified mapsource element may resemble the following code example.
    <mapsource Name="BizTalk Map" BizTalkServerMapperTool_Version="2.0" Version="2" XRange="100" YRange="420" OmitXmlDeclaration="Yes" GenerateDefaultFixedNodes="No" TreatElementsAsRecords
  6. On the File menu, click Save.
  7. On the File menu, click Exit.

↑ Back to the top


Status

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


References

For more information about how to resolve this issue in Microsoft BizTalk Server 2004, click the following article number to view the article in the Microsoft Knowledge Base:
884062� A System.OutOfMemory exception occurs when you compile a solution map that has a complex source schema or a complex destination schema

↑ Back to the top


Keywords: KB917839, kbprb, kbbug, kbtshoot, kbbts, kbbtsmapper

↑ Back to the top

Article Info
Article ID : 917839
Revision : 3
Created on : 5/3/2006
Published on : 5/3/2006
Exists online : False
Views : 438