On Fri, 9 Nov 2012, Norman M wrote:
Is Poi really using streaming to parse files? Why it is taking much more memory than Aspose that I thought reads the whole file into memory.
Depends, what bit of POI are you using? And are you passing in a File or an InputStream?
If you use NPOIFSFileSytem with a File rather than an input stream, it'll do very low memory access to the underlying OLE2 container. If you then use event based HSSF processing, it'll do stream based processing of the excel contents and need very little memory
If you use POIFSFileSystem from a stream, and HSSF UserModel, it'll buffer everything in memory and need lots.
Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
