[
https://issues.apache.org/jira/browse/TIKA-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14300953#comment-14300953
]
ASF GitHub Bot commented on TIKA-1537:
--------------------------------------
GitHub user archerrbgh opened a pull request:
https://github.com/apache/tika/pull/26
Added argLine value for maven-surefire-plugin
Setting a higher maximum amount of memory prevents TestChmExtraction
from generating an OutOfMemory error from running out of heap space
when running parser tests and trying to install Tika 1.7 on OS X
10.10.2. This is to address issue TIKA-1537.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/archerrbgh/tika trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tika/pull/26.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #26
----
commit 05340a8ef401a29206b7dff30b97d193347cd8c2
Author: Andrew Hwang <[email protected]>
Date: 2015-02-02T07:08:19Z
Added argLine value for maven-surefire-plugin
Setting a higher maximum amount of memory prevents TestChmExtraction
from generating an OutOfMemory error from running out of heap space
when running parser tests and trying to install Tika 1.7 on OS X
10.10.2.
----
> Installation on OSX 10.10.2 generates OutOfMemory Error during parser tests
> ---------------------------------------------------------------------------
>
> Key: TIKA-1537
> URL: https://issues.apache.org/jira/browse/TIKA-1537
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.7
> Environment: Mac OSX 10.10.2
> Reporter: Andrew Hwang
> Priority: Minor
> Labels: easyfix
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)