poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61371] 20^20 hidden cells in a .xlsx file causes heap memory full exception
Date Thu, 03 Aug 2017 09:09:29 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61371

Javen O'Neal <onealj@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #5 from Javen O'Neal <onealj@apache.org> ---
The attached workbook, attachment 35196, is actually quite small uncompressed
and doesn't describe many cells.

xl/worksheets/sheet1.xml:
<cols>
  <col min="1" max="1" width="9.140625" customWidth="1"/>
  <col min="2" max="16384" width="9.140625" hidden="1"/>
</cols>
<sheetData>
  <row r="1" spans="1:1" x14ac:dyDescent="0.25">
    <c r="A1" t="s">
      <v>0</v>
    </c>
  </row>
</sheetData>

sheet2 and 3 are even smaller.

The entire file expands to 28 KB on disk, and I didn't see anything suspicious
in sharedStrings or elsewhere that would cause this workbook to misbehave.

Lakshminathan, please verify whether you're able to read
https://svn.apache.org/repos/asf/poi/trunk/test-data/spreadsheet/SampleSS.xlsx
in your application.

Which JVM are you using and what is your max heap size?
What version of POI are you using?
Is there anything else in your application that could be consuming a
substantial part of the heap?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message