You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2015/07/23 16:56:04 UTC

[jira] [Commented] (HADOOP-12261) Surefire needs to make sure the JVMs it fires up are 64-bit

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

Allen Wittenauer commented on HADOOP-12261:
-------------------------------------------

There's actually some speculation that 4gb is too much heap for the surefire plugins.

> Surefire needs to make sure the JVMs it fires up are 64-bit
> -----------------------------------------------------------
>
>                 Key: HADOOP-12261
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12261
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 2.7.1
>            Reporter: Alan Burlison
>            Assignee: Alan Burlison
>
> hadoop-project/pom.xml sets maven-surefire-plugin.argLine to include -Xmx4096m. Allocating  that amount of memory requires a 64-bit JVM, but on platforms with both 32 and 64-bit JVMs surefire runs the 32 bit version by default and tests fail to start as a result. "-d64" should be added to the command-line arguments to ensure a 64-bit JVM is always used.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)