I have a ,Net application(C#) That appends two documents together after they are created and the data has been mail-merged. I am getting an OutOfMemoryExceptionError.
The code used to append the spanish document to the english document:
Thanks for your inquiry. After an initial test with Aspose.Words 14.10.0, I was unable to reproduce this issue on my side. I would suggest you please try running the following code. I hope, this helps.
Document doc = new Document(MyDir + @"Example_ENG.docx");
Document doc1 = new Document(MyDir + @"Example_ESP.docx");
doc.AppendDocument(doc1, ImportFormatMode.UseDestinationStyles);
doc.Save(MyDir + @"out.docx");
In case the problem still remains, please create a standalone runnable console application (source code) that helps us reproduce your problem on our end and attach it here for testing.