Hi Nick,

thanks for the advice with loading the file directly into the OPCPackage.

As you maybe thought this makes no difference in loading the file. Still
100% cpu.

Any other ideas?

BR, Michael

schrieb Nick Burch:
> On Tue, 10 Jan 2012, Michael Langhans wrote:
>> I used the following lines for loading:
>>
>> BufferedInputStream fstream = new BufferedInputStream (new
>> FileInputStream(outputFile));
>> Workbook ourWorkbook = new XSSFWorkbook(OPCPackage.open(fstream));
> 
> I can't offer any advice on the overall problem, but I can point out
> that this code is not ideal. You're much much better off passing the
> file itself to OPCPackage, as that allows for lower memory processing
> 
> Nick
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to