[ 
https://issues.apache.org/jira/browse/ACCUMULO-2732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13990113#comment-13990113
 ] 

Sean Busbey commented on ACCUMULO-2732:
---------------------------------------

I have a coworker who can reliably reproduce having the 
core/security/crypto/BlockedIOStreamTest fail on JDK6 with default maven 
surefire JVM settings, regardless of manipulating the MAVEN_OPTS (since those 
aren't actually used for forked surefire tests) and having JDK7 installed.

The test always passes for me, I suspect because of a combination of default 
JVM max heap and because my system has no jdk6 (while hers does), resulting in 
my maven using a JRE7 for running tests even though it's targeting java 6. 
While specifying a max heap, I have all tests passing at Xmx 756MB while she 
requires Xmx 1GB

[~elserj] (or anyone else) would you mind if she takes this over to contribute 
a pom fix for the surefire plugin configs? Or would you prefer a new ticket?

> Update README build instructions for more Maven heap
> ----------------------------------------------------
>
>                 Key: ACCUMULO-2732
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2732
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: docs
>            Reporter: Bill Havanki
>            Assignee: Josh Elser
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 1.6.1, 1.7.0
>
>
> As the Accumulo code base grows, Maven needs more heap available in order to 
> build. Currently, 256 MB appears to be enough, which is more than the default.
> The README should be updated to suggest configuring Maven with more heap, 
> e.g.: add {{MAVEN_OPTS=-Xmx256m}} to .mavenrc. This will help out folks who 
> aren't Maven experts get a successful build.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to