I'm having a Word document (6MB) which has 11 pages with image.
I'm using RadRichTextBox to load it into and then export it to a MemoryStream, then I got an OutOfMemoryException.
Here is the code sample:
IDocumentFormatProvider pdf = DocumentFormatProvidersManager.GetProviderByExtension(ext);
When debugging, I observed that the stream is quite big (33MB). Could you please let me know why the stream is really big like that.
FYI: I'm using the 2015 version
How can I fix the issue?