You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Jessica Seastrom (JIRA)" <ji...@apache.org> on 2014/05/06 20:59:15 UTC
[jira] [Commented] (ACCUMULO-2774) Update pom to ensure enough
memory for tests
[ https://issues.apache.org/jira/browse/ACCUMULO-2774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13990996#comment-13990996 ]
Jessica Seastrom commented on ACCUMULO-2774:
--------------------------------------------
Java opts set via MAVEN_OPTS are not passed to the surefire-plugin when tests execute. The heap size for the surefire-plugin can be set in the pom.xml file using:
<configuration>
<argLine>-Xmx<some_value></argLine>
</configuration>
-Xmx768 works. (Via testing the acceptable value seems to be 512 < Xmx <= 768.
At least one occurence was on MacOS where Java was Apple Java 1.6. Another way to solve this issue is to set JAVA_HOME to a JAVA version with a larger config heapsize, but this patch ensures that the heap size is adequate for the test regardless of these low level details.
> Update pom to ensure enough memory for tests
> --------------------------------------------
>
> Key: ACCUMULO-2774
> URL: https://issues.apache.org/jira/browse/ACCUMULO-2774
> Project: Accumulo
> Issue Type: Bug
> Components: test
> Affects Versions: 1.6.0
> Reporter: Sean Busbey
> Assignee: Jessica Seastrom
> Priority: Minor
> Fix For: 1.6.1, 1.7.0
>
>
> On some systems JRE defaults don't provide enough heap to deal with all of our tests. Namely, org.apache.accumulo.core.security.crypto.BlockedIOStreamTest requires a fair bit of space (in the 768MB - 1GB range).
> The amount provided by default varies by JRE and by system specs. Our pom should ensure that by default our tests ask for as much as they'll need.
--
This message was sent by Atlassian JIRA
(v6.2#6252)