accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jessica Seastrom (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-2774) Update pom to ensure enough memory for tests
Date Tue, 06 May 2014 18:59:15 GMT


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:

-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:
>             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, 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

View raw message