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.
Best regards,
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.