Aspose version : 188.8.131.52
I am trying to create and save a word document with approx 15000 pages, with each page coming to around 35kb. I am able to create the file, but I keep running into out of memory exception when trying to save the file. I could save the file only if there aren’t more than 3000 pages.
I’m freeing up used memory by running the garbage collector after creating every page.
I’m also deleting the temp files created once 2 docs have been merged into a single doc. Each doc approximately has 1000 pages.
Are there any other ways that I can do to get rid of this error?