Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Thu Dec 11, 2014 6:23 pm

We have some very large Word documents that need to be created in code. The concern is that if the entire document has to be created in its entirety in memory before it can be saved to disk, the amount of memory required will be very large. The question is whether the document can be saved to disk while it's being created, thereby not requiring large amounts of memory to contain the entire document.

Thank you

exago
 
Posts: 1
Joined: Thu Dec 11, 2014 6:17 pm

Fri Dec 12, 2014 1:46 am

Dear exago,

Thanks for your inquiry.

When using Spire.Doc to create a word document, the whole document will be in memory or buffer (depends on system) unless you call method "SaveToFile" to save it to the disk.
Best Regards,
Burning
E-iceblue Support Team
User avatar

burning.liu
 
Posts: 406
Joined: Mon Aug 04, 2014 6:47 am

Return to Spire.Doc