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



The information in this article 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:
  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.

STATUS

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

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


Modification Type:MajorLast Reviewed:5/3/2006
Keywords:kbBTSMapper kbBTS kbtshoot kbBug kbprb KB917839 kbAudDeveloper