I compile with ‘ANY CPU’, and I’ve verified that it is not running 32 bit. (Task manager does not have the ‘*32’ by it). So would compiling my app as X64 really make a difference?
Through ask manager, I’ve seen the memory hit 11 GB on this task, during the creation of the sheets. The resulting sheet is about 23 MB (which I know is compressed). So the 11 GB seems large.
A GREAT solution would be if you could tell ClosedXML to keep files on disk, rather than in memory.