Hi gurus,
I am implementing a custom pipeline; which splits an XML message into smaller chuncks (configured number of records). The issue is if the XML message size is big +100Mb, I got an out of memory exception; and the line where the exception occurs is:
Stream originalMessageStream = pInMsg.BodyPart.GetOriginalDataStream();
string originalDataString = streamReader.ReadLine();
Since the XML string loaded is huge, an exception is thrown. I tried using the VirtualStream & Seakable stream; however, couldn’t find the Microsoft.BizTalk.Streaming assembly.
How I can solve such issue?