We are trying to generate large doc file but getting error of memoryexception

MemoryIssue.PNG (16.1 KB)
Please find attched. And suggest me a solution.

@sakhan14

Thanks for your inquiry. Please ZIP and attach your input Word document and code example here for testing. We will investigate the issue on our side and provide you more information.