We would like to create a word document in several steps. For each step we are showing progress information in the web user-interface. So for each step we have to load the document again and add the data (at the end of the document).
Loading a large amount of data in memory (and freeing it again) several times will fragment the "large object heap".
How can we append data to a document in several steps without fragmenting the Large Object Heap?