I had the same issue with Closed XML running out of memory with 100K+ rows and 65 columns running in a 32bit environment. It does not run out of memory on a 64bit bit server with IIS but is very slow.
My solution was to generate a very basic spreadsheet using the Open XML dll. What took over 25 minutes to generate with Closed XML generated in less than 5 minutes using the basic Open XML approach. But be advised that there was no formatting or any other processing whatsoever.
My solution was to generate a very basic spreadsheet using the Open XML dll. What took over 25 minutes to generate with Closed XML generated in less than 5 minutes using the basic Open XML approach. But be advised that there was no formatting or any other processing whatsoever.