Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-1537

Installation on OSX 10.10.2 generates OutOfMemory Error during parser tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.7
    • 1.8
    • parser
    • Mac OSX 10.10.2

    Description

      I was having issues during installation of Tika 1.7 where the build failed when running parser tests (specifically on TestChmExtraction). I had set the MAVEN_OPTS variable to have enough memory (-Xmx2048m), but the build still failed. I turned out that the maven-surefire-plugin was creating a new JVM that did not have enough specified memory, causing TestChmExtraction to fail. A fix I found online led me to change the POM for tika-parent (adding an argLine to maven-surefire-plugin, where -Xmx2048m worked). After adding this, the installation was able to finish. I will submit a pull request with the addition.

      Attachments

        Activity

          People

            chrismattmann Chris A. Mattmann
            hwanga Andrew Hwang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: