Hi!

I am trying to read a xlsx-file whose size is 7.3M with POI version 3.15, here 
is the code:
InputStream is = new FileInputStream(new File(path));//line 1
Workbook book = new XSSFWorkbook(in);// line 2
When running to line 2,the memory of javaw rised violently from 700M to 
1200M,cpu from 10% to 90%,the following is the screenshot of memory dump:

In the picture, the object of Xobj$AttrXobj has more than 5 millions  so that 
it occupy the most of memory,but the file size is just 7.3M.
Can someone help me?
                                                                                
                     
                                                                                
                                                                                
                       Thank you!



[email protected]

Reply via email to