Quantcast
Channel: NPOI
Viewing all articles
Browse latest Browse all 1621

New Post: Saving large workbooks

$
0
0
I'm having a similar problem but on the reading side with large XSSF (*.xlsx) workbooks.

This runs out of memory on a 50 megabyte excel file I'm trying to read (uses over 1.7 gigs before running out of memory):
        FileStream fs = new FileStream("foo.xlsx", FileMode.Open);
        NPOI.SS.UserModel.IWorkbook wb = new NPOI.XSSF.UserModel.XSSFWorkbook(fs);
Note: this same file opens in Excel with only 150 megs of memory getting used.

PS - I'm also unable to find the XSSF package when I browse the on-line web interface for SOURCE code. Am I looking in the wrong online codebase?

Viewing all articles
Browse latest Browse all 1621

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>