Yes, it does keep the entire workbook in memory before saving it to disk. This is why I find it so odd that it works one way but not the other. Either way the entire workbook is kept in memory. You can only save data to the disk as you're creating it if you can make assumptions about the workbook. This is something ClosedXML can't do so it's the reason why you should go with SAX.
↧