Tika
  1. Tika
  2. TIKA-521

OutOfMemoryError Parsing XSLX File

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.7, 0.8
    • Fix Version/s: 0.10
    • Component/s: parser
    • Labels:
      None

      Description

      I have several XSLX files I'm trying to parse with Tika that are failing with an OutOfMemoryError even when using a large heap size. For instance the attached 1.26MB excel file fails using a 512MB heap.

      1. Out of memory issue in 1.0.jpg
        229 kB
        samraj
      2. Out of memory issue in 1.0.jpg
        229 kB
        samraj
      3. TikaExcelEventBasedExtraction.diff
        21 kB
        Nick Burch
      4. tika-diff.txt
        2 kB
        Sjoerd Smeets
      5. tika-new-files.tar.bz2
        5 kB
        Sjoerd Smeets
      6. memory-test.xlsx
        1.27 MB
        Stephen Duncan Jr

        Activity

        Jukka Zitting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        samraj made changes -
        Attachment Out of memory issue in 1.0.jpg [ 12480388 ]
        samraj made changes -
        Attachment Out of memory issue in 1.0.jpg [ 12480387 ]
        Nick Burch made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.0 [ 12313535 ]
        Resolution Fixed [ 1 ]
        Nick Burch made changes -
        Assignee Nick Burch [ gagravarr ]
        Nick Burch made changes -
        Attachment TikaExcelEventBasedExtraction.diff [ 12460260 ]
        Nick Burch made changes -
        Attachment TikaExcelEventBasedExtraction.diff [ 12460261 ]
        Nick Burch made changes -
        Attachment TikaExcelEventBasedExtraction.diff [ 12460176 ]
        Nick Burch made changes -
        Attachment TikaExcelEventBasedExtraction.diff [ 12460260 ]
        Nick Burch made changes -
        Attachment TikaExcelEventBasedExtraction.diff [ 12460176 ]
        Chris A. Mattmann made changes -
        Component/s parser [ 12312047 ]
        Sjoerd Smeets made changes -
        Attachment tika-new-files.tar.bz2 [ 12456912 ]
        Attachment tika-diff.txt [ 12456913 ]
        Stephen Duncan Jr made changes -
        Field Original Value New Value
        Attachment memory-test.xlsx [ 12456016 ]
        Stephen Duncan Jr created issue -

          People

          • Assignee:
            Nick Burch
            Reporter:
            Stephen Duncan Jr
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development