Hi Adam,
We’re using aspose to implement a server side mail merge in our product. When we do a merge we append all merged data (1 doc per record) into a final doc so it can be opened and printed off. So obviously we’re prone to out of memory errors with this approach (bur we must produce 1 document with all merged records – business rules), We can check the memory after each append so we only keep appending if there is enough memory left.
Then when saving the file to disk we set the ‘TempFolder’ on the saveoption so it should use the temp folder rather than memory for saving. Is there a way to calculate how much memory the save still needs when using the temp folder? I appreciate it really depends on the data and the document itself but if you have any guideline it would be greatly appreciated.
Thanks,
Eamonn
This message was posted using Email2Forum by aske012.