处理BizTalk内存泄漏

有的时候BizTalk处理单条大数据的时候容易出现OutOfMemory错误,比如说要转换很大的报文等.

对于32 位机来说,可以使用/3GB和/PAE开关来解决内存问题

The /3GB switch also increases the maximum private bytes of the BizTalk process from 800 MB to 1800 MB.

/PAE可以让32位机识别超过4GB的内存

 

Ref:How to troubleshoot a memory leak or an out-of-memory exception in the BizTalk Server process

 

Attach:以前遇到的OutOfMemory错误信息

Event Type:    Error
Event Source:    XLANG/s
Event Category:    None
Event ID:    10046
Date:        10/16/2008
Time:        7:37:25 PM
User:        N/A
Computer:    DEMO06APP
Description:
An unrecoverable exception (see the 'inner exception' below) has occurred.
Service Name: _3B2_PGI_Process_Intel._3B2_PGI_Process2
Service Id: c81ed49c-7be0-3ce9-0f2b-4136c266e343
Instance Id: 49909704-5b20-4a45-a089-f0a38257e8d3
Exception of type 'System.OutOfMemoryException' was thrown.
Exception type: OutOfMemoryException
Source: Microsoft.XLANGs.BaseTypes
Target Site: Void EnsureDataBufferIsLargeEnough(Int32)
The following is a stack trace that identifies the location where the exception occured

   at Microsoft.BizTalk.ScalableTransformation.PersistedStringTable.EnsureDataBufferIsLargeEnough(Int32 requiredSize)
   at Microsoft.BizTalk.ScalableTransformation.PersistedStringTable.CreateStringHandle(String str)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.CreateNodeFromReaderAndLinkIt(XPathNodeType nt, Boolean readValue)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.ProcessText()
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.ProcessXmlNode()
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor..ctor(XmlReader reader, PersistedStringTable stringTable, Stream nodeCacheStm, XmlNameTable nameTable, NodeCache& nodeCache)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.Process(XmlReader reader, PersistedStringTable stringTable, Stream nodeCacheStm, XmlNameTable nt)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument..ctor(XmlReader reader)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.DoScalableTransform(Stream strm, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.DoAutoSwitchTransform(Stream strm, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.Transform(Stream input, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.XLANGs.Core.Service.ApplyTransform(Type mapRef, Object[] outParams, Object[] inParams)
   at _3B2_PGI_Process_Intel.PGIPIPOutPrepare.segment1(StopConditions stopOn)
   at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

-------------------------------------------------------------

Event Type:    Error
Event Source:    XLANG/s
Event Category:    None
Event ID:    10046
Date:        10/16/2008
Time:        7:37:28 PM
User:        N/A
Computer:    DEMO06APP
Description:
An unrecoverable exception (see the 'inner exception' below) has occurred.
Service Name: _3B2_PGI_Process_Intel._3B2_PGI_Process2
Service Id: c81ed49c-7be0-3ce9-0f2b-4136c266e343
Instance Id: 49909704-5b20-4a45-a089-f0a38257e8d3
Exception of type 'System.OutOfMemoryException' was thrown.
Exception type: OutOfMemoryException
Source: Microsoft.XLANGs.BaseTypes
Target Site: Void EnsureDataBufferIsLargeEnough(Int32)
The following is a stack trace that identifies the location where the exception occured

   at Microsoft.BizTalk.ScalableTransformation.PersistedStringTable.EnsureDataBufferIsLargeEnough(Int32 requiredSize)
   at Microsoft.BizTalk.ScalableTransformation.PersistedStringTable.CreateStringHandle(String str)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.CreateNodeFromReaderAndLinkIt(XPathNodeType nt, Boolean readValue)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.ProcessText()
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.ProcessXmlNode()
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor..ctor(XmlReader reader, PersistedStringTable stringTable, Stream nodeCacheStm, XmlNameTable nameTable, NodeCache& nodeCache)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.Process(XmlReader reader, PersistedStringTable stringTable, Stream nodeCacheStm, XmlNameTable nt)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument..ctor(XmlReader reader)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.DoScalableTransform(Stream strm, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.DoAutoSwitchTransform(Stream strm, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.Transform(Stream input, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.XLANGs.Core.Service.ApplyTransform(Type mapRef, Object[] outParams, Object[] inParams)
   at _3B2_PGI_Process_Intel.PGIPIPOutPrepare.segment1(StopConditions stopOn)
   at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

-----------------------------

Event Type:    Error
Event Source:    XLANG/s
Event Category:    None
Event ID:    10046
Date:        10/16/2008
Time:        7:37:39 PM
User:        N/A
Computer:    DEMO06APP
Description:
An unrecoverable exception (see the 'inner exception' below) has occurred.
Service Name: _3B2_PGI_Process_Intel._3B2_PGI_Process2
Service Id: c81ed49c-7be0-3ce9-0f2b-4136c266e343
Instance Id: 49909704-5b20-4a45-a089-f0a38257e8d3
Exception of type 'System.OutOfMemoryException' was thrown.
Exception type: OutOfMemoryException
Source: Microsoft.XLANGs.BaseTypes
Target Site: Void EnsureDataBufferIsLargeEnough(Int32)
The following is a stack trace that identifies the location where the exception occured

   at Microsoft.BizTalk.ScalableTransformation.PersistedStringTable.EnsureDataBufferIsLargeEnough(Int32 requiredSize)
   at Microsoft.BizTalk.ScalableTransformation.PersistedStringTable.CreateStringHandle(String str)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.CreateNodeFromReaderAndLinkIt(XPathNodeType nt, Boolean readValue)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.ProcessText()
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.ProcessXmlNode()
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor..ctor(XmlReader reader, PersistedStringTable stringTable, Stream nodeCacheStm, XmlNameTable nameTable, NodeCache& nodeCache)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.Process(XmlReader reader, PersistedStringTable stringTable, Stream nodeCacheStm, XmlNameTable nt)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument..ctor(XmlReader reader)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.DoScalableTransform(Stream strm, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.DoAutoSwitchTransform(Stream strm, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.Transform(Stream input, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.XLANGs.Core.Service.ApplyTransform(Type mapRef, Object[] outParams, Object[] inParams)
   at _3B2_PGI_Process_Intel.PGIPIPOutPrepare.segment1(StopConditions stopOn)
   at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

-----------------------------

Event Type:    Error
Event Source:    XLANG/s
Event Category:    None
Event ID:    10046
Date:        10/16/2008
Time:        7:38:47 PM
User:        N/A
Computer:    DEMO06APP
Description:
An unrecoverable exception (see the 'inner exception' below) has occurred.
Service Name: _3B2_PGI_Process_Intel._3B2_PGI_Process2
Service Id: c81ed49c-7be0-3ce9-0f2b-4136c266e343
Instance Id: 49909704-5b20-4a45-a089-f0a38257e8d3
Exception of type 'System.OutOfMemoryException' was thrown.
Exception type: OutOfMemoryException
Source: Microsoft.XLANGs.BaseTypes
Target Site: Void EnsureDataBufferIsLargeEnough(Int32)
The following is a stack trace that identifies the location where the exception occured

   at Microsoft.BizTalk.ScalableTransformation.PersistedStringTable.EnsureDataBufferIsLargeEnough(Int32 requiredSize)
   at Microsoft.BizTalk.ScalableTransformation.PersistedStringTable.CreateStringHandle(String str)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.CreateNodeFromReaderAndLinkIt(XPathNodeType nt, Boolean readValue)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.ProcessText()
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.ProcessXmlNode()
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor..ctor(XmlReader reader, PersistedStringTable stringTable, Stream nodeCacheStm, XmlNameTable nameTable, NodeCache& nodeCache)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.Process(XmlReader reader, PersistedStringTable stringTable, Stream nodeCacheStm, XmlNameTable nt)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument..ctor(XmlReader reader)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.DoScalableTransform(Stream strm, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.DoAutoSwitchTransform(Stream strm, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.Transform(Stream input, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.XLANGs.Core.Service.ApplyTransform(Type mapRef, Object[] outParams, Object[] inParams)
   at _3B2_PGI_Process_Intel.PGIPIPOutPrepare.segment1(StopConditions stopOn)
   at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

---------------------------------

Event Type:    Error
Event Source:    XLANG/s
Event Category:    None
Event ID:    10046
Date:        10/16/2008
Time:        7:39:01 PM
User:        N/A
Computer:    DEMO06APP
Description:
An unrecoverable exception (see the 'inner exception' below) has occurred.
Service Name: _3B2_PGI_Process_Intel._3B2_PGI_Process2
Service Id: c81ed49c-7be0-3ce9-0f2b-4136c266e343
Instance Id: 49909704-5b20-4a45-a089-f0a38257e8d3
Exception of type 'System.OutOfMemoryException' was thrown.
Exception type: OutOfMemoryException
Source: Microsoft.XLANGs.BaseTypes
Target Site: Void EnsureDataBufferIsLargeEnough(Int32)
The following is a stack trace that identifies the location where the exception occured

   at Microsoft.BizTalk.ScalableTransformation.PersistedStringTable.EnsureDataBufferIsLargeEnough(Int32 requiredSize)
   at Microsoft.BizTalk.ScalableTransformation.PersistedStringTable.CreateStringHandle(String str)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.CreateNodeFromReaderAndLinkIt(XPathNodeType nt, Boolean readValue)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.ProcessText()
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.ProcessXmlNode()
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor..ctor(XmlReader reader, PersistedStringTable stringTable, Stream nodeCacheStm, XmlNameTable nameTable, NodeCache& nodeCache)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.Process(XmlReader reader, PersistedStringTable stringTable, Stream nodeCacheStm, XmlNameTable nt)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument..ctor(XmlReader reader)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.DoScalableTransform(Stream strm, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.DoAutoSwitchTransform(Stream strm, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.Transform(Stream input, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.XLANGs.Core.Service.ApplyTransform(Type mapRef, Object[] outParams, Object[] inParams)
   at _3B2_PGI_Process_Intel.PGIPIPOutPrepare.segment1(StopConditions stopOn)
   at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

-----------------------------------

Event Type:    Error
Event Source:    XLANG/s
Event Category:    None
Event ID:    10046
Date:        10/16/2008
Time:        7:39:03 PM
User:        N/A
Computer:    DEMO06APP
Description:
An unrecoverable exception (see the 'inner exception' below) has occurred.
Service Name: _3B2_PGI_Process_Intel._3B2_PGI_Process2
Service Id: c81ed49c-7be0-3ce9-0f2b-4136c266e343
Instance Id: 49909704-5b20-4a45-a089-f0a38257e8d3
Exception of type 'System.OutOfMemoryException' was thrown.
Exception type: OutOfMemoryException
Source: Microsoft.XLANGs.BaseTypes
Target Site: Void EnsureDataBufferIsLargeEnough(Int32)
The following is a stack trace that identifies the location where the exception occured

   at Microsoft.BizTalk.ScalableTransformation.PersistedStringTable.EnsureDataBufferIsLargeEnough(Int32 requiredSize)
   at Microsoft.BizTalk.ScalableTransformation.PersistedStringTable.CreateStringHandle(String str)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.CreateNodeFromReaderAndLinkIt(XPathNodeType nt, Boolean readValue)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.ProcessText()
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.ProcessXmlNode()
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor..ctor(XmlReader reader, PersistedStringTable stringTable, Stream nodeCacheStm, XmlNameTable nameTable, NodeCache& nodeCache)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.Process(XmlReader reader, PersistedStringTable stringTable, Stream nodeCacheStm, XmlNameTable nt)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument..ctor(XmlReader reader)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.DoScalableTransform(Stream strm, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.DoAutoSwitchTransform(Stream strm, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.Transform(Stream input, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.XLANGs.Core.Service.ApplyTransform(Type mapRef, Object[] outParams, Object[] inParams)
   at _3B2_PGI_Process_Intel.PGIPIPOutPrepare.segment1(StopConditions stopOn)
   at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

-------------------------------------------

Event Type:    Error
Event Source:    XLANG/s
Event Category:    None
Event ID:    10046
Date:        10/16/2008
Time:        7:39:06 PM
User:        N/A
Computer:    DEMO06APP
Description:
An unrecoverable exception (see the 'inner exception' below) has occurred.
Service Name: _3B2_PGI_Process_Intel._3B2_PGI_Process2
Service Id: c81ed49c-7be0-3ce9-0f2b-4136c266e343
Instance Id: 49909704-5b20-4a45-a089-f0a38257e8d3
Exception of type 'System.OutOfMemoryException' was thrown.
Exception type: OutOfMemoryException
Source: Microsoft.XLANGs.BaseTypes
Target Site: Void EnsureDataBufferIsLargeEnough(Int32)
The following is a stack trace that identifies the location where the exception occured

   at Microsoft.BizTalk.ScalableTransformation.PersistedStringTable.EnsureDataBufferIsLargeEnough(Int32 requiredSize)
   at Microsoft.BizTalk.ScalableTransformation.PersistedStringTable.CreateStringHandle(String str)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.CreateNodeFromReaderAndLinkIt(XPathNodeType nt, Boolean readValue)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.ProcessText()
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.ProcessXmlNode()
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor..ctor(XmlReader reader, PersistedStringTable stringTable, Stream nodeCacheStm, XmlNameTable nameTable, NodeCache& nodeCache)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument.XmlReaderPreprocessor.Process(XmlReader reader, PersistedStringTable stringTable, Stream nodeCacheStm, XmlNameTable nt)
   at Microsoft.BizTalk.ScalableTransformation.ScalableXPathDocument..ctor(XmlReader reader)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.DoScalableTransform(Stream strm, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.DoAutoSwitchTransform(Stream strm, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.BizTalk.ScalableTransformation.BTSXslTransform.Transform(Stream input, XsltArgumentList args, Stream output, XmlResolver resolver)
   at Microsoft.XLANGs.Core.Service.ApplyTransform(Type mapRef, Object[] outParams, Object[] inParams)
   at _3B2_PGI_Process_Intel.PGIPIPOutPrepare.segment1(StopConditions stopOn)
   at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

-------------------------------------

Event Type:    Error
Event Source:    XLANG/s
Event Category:    None
Event ID:    10034
Date:        10/16/2008
Time:        7:39:20 PM
User:        N/A
Computer:    DEMO06APP
Description:
Unexpected exception (see the 'inner exception' below) has occurred while executing an instance of service '_3B2_PGI_Process_Intel._3B2_PGI_Process2(c81ed49c-7be0-3ce9-0f2b-4136c266e343)'.
InstanceId: 5e401cfd-e5d9-4e2f-9a5e-d31599974097
Shape name:
ShapeId: 4b9f0963-21d3-4c53-9940-4c3cdbe01c35
Exception thrown from: segment 1, progress 127
Inner exception: Exception from HRESULT: 0xC0C01B05
Exception type: COMException
Source: Microsoft.BizTalk.Interop.Agent
Target Site: Void UnsubscribeEx(System.Guid ByRef, System.Guid ByRef)
The following is a stack trace that identifies the location where the exception occured

   at Microsoft.BizTalk.Agent.Interop.IBTMessageBatchEx.UnsubscribeEx(Guid& subscriptionID, Guid& instanceID)
   at Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.DeleteSubscription(Guid guidSubscriptionID)
   at Microsoft.XLANGs.Core.Service.DeleteSubscription(Guid id, Context ctx)
   at Microsoft.XLANGs.Core.SubscriptionWrapper.Destroy(Service svc, Context ctx)
   at _3B2_PGI_Process_Intel.PGIPIPOutPrepare.__PGIPIPOutPrepare_1.Finally()
   at _3B2_PGI_Process_Intel.PGIPIPOutPrepare.__PGIPIPOutPrepare_1.OnError()
   at Microsoft.XLANGs.Core.Context.HandleException()
   at Microsoft.XLANGs.Core.Context.ExceptionRaised(Exception e)
   at Microsoft.XLANGs.Core.SegmentScheduler._RunSomeSegments(StopConditions stopOn)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

---------------------------------

Event Type:    Warning
Event Source:    BizTalk Server 2006
Event Category:    BizTalk Server 2006
Event ID:    5410
Date:        10/16/2008
Time:        7:39:20 PM
User:        N/A
Computer:    DEMO06APP
Description:
An error occurred that requires the BizTalk service to terminate. The most common causes are the following:
1) An unexpected out of memory error.
OR
2) An inability to connect or a loss of connectivity to one of the BizTalk databases.
The service will shutdown and auto-restart in 1 minute. If the problematic database remains unavailable, this cycle will repeat.
Error message: Insufficient memory to continue the execution of the program.
Error source: Microsoft.BizTalk.Pipeline
BizTalk host name: BTSApp_Intel_3B2PGI
Windows service name: BTSSvc$BTSApp_Intel_3B2PGI

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

-----------------------------------

Event Type:    Information
Event Source:    BizTalk Server 2006
Event Category:    BizTalk Server 2006
Event ID:    5410
Date:        10/16/2008
Time:        7:40:21 PM
User:        N/A
Computer:    DEMO06APP
Description:
The following BizTalk host instance has initialized successfully.
BizTalk host name: BTSApp_Intel_3B2PGI
Windows service name: BTSSvc$BTSApp_Intel_3B2PGI

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

------------------------------

Event Type:    Error
Event Source:    XLANG/s
Event Category:    None
Event ID:    10008
Date:        10/17/2008
Time:        8:55:40 AM
User:        N/A
Computer:    DEMO06APP
Description:
Uncaught exception (see the 'inner exception' below) has suspended an instance of service '_3B2_PGI_Process_Intel._3B2_PGI_Process2(c81ed49c-7be0-3ce9-0f2b-4136c266e343)'.
The service instance will remain suspended until administratively resumed or terminated.
If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
InstanceId: b439e530-e7e8-4fec-a4a3-7b35a85bd398
Shape name:
ShapeId: 4b9f0963-21d3-4c53-9940-4c3cdbe01c35
Exception thrown from: segment 1, progress 127
Inner exception: Exception occurred when persisting state to the database.
Exception type: PersistenceException
Source: Microsoft.XLANGs.BizTalk.Engine
Target Site: Void Commit()
The following is a stack trace that identifies the location where the exception occured

   at Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.Commit()
   at Microsoft.XLANGs.Core.Service.Persist(Boolean dehydrate, Context ctx, Boolean idleRequired, Boolean finalPersist, Boolean bypassCommit, Boolean terminate)
   at Microsoft.XLANGs.Core.LongRunningTransaction.PendingCommit(Boolean ignore, XMessage msg)
   at Microsoft.XLANGs.Core.ExceptionHandlingContext.PendingCommit(Boolean ignoreCommit, XMessage msg)
   at Microsoft.XLANGs.Core.Service.PendingCommit(Boolean ignore, XMessage msg)
   at Microsoft.XLANGs.Core.ServiceContext.PendingCommit(Boolean ignore, XMessage msg)
   at Microsoft.XLANGs.Core.ExceptionHandlingContext.PendingCommit(Boolean ignoreCommit, XMessage msg)
   at Microsoft.BizTalk.XLANGs.BTXEngine.BTXPortBase.SendMessage(Int32 iOperation, XLANGMessage msg, Correlation[] initCorrelations, Correlation[] followCorrelations, SubscriptionWrapper& subscriptionWrapper, Context cxt, Segment seg, ActivityFlags flags)
   at Microsoft.XLANGs.Core.PortBase.SendMessage(Int32 iOperation, XLANGMessage msg, Correlation[] initCorrelations, Correlation[] followCorrelations, SubscriptionWrapper& subscriptionWrapper, Context cxt, Segment seg)
   at _3B2_PGI_Process_Intel.PGIPIPOutPrepare.segment1(StopConditions stopOn)
   at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
Additional error information:

        A batch item failed persistence Item-ID 53d6c4f0-ba6e-47ae-83f4-9ec6f18823cf OperationType MAIO_CommitBatch Status -1061151931 ErrorInfo The database cannot be accessed because the system is recovering from an earlier database failure. .
Exception type: PersistenceItemException
Additional error information:

        Failed to publish (send) a message in the batch. This is usually because there is no one expecting to receive this message.  The error was The database cannot be accessed because the system is recovering from an earlier database failure.  with status -1061151931.
Exception type: PublishMessageException

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

你可能感兴趣的:(内存泄漏)