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

Allen Wittenauer edited comment on HADOOP-15153 at 1/2/18 4:34 PM:
-------------------------------------------------------------------

... except that's probably not the actual issue.

a) The limit was increased in trunk because of JDK8 + surefire upgrade.

b) Java threads show up as processes on Linux kernels.  Due to limits placed 
around # of processes, new threads can't be spawned.  Java mistakenly reports 
these as "out of memory".  See also INFRA-15685 where the limit is getting 
raised.

c) branch-2's version of surefire doesn't kill timed out unit tests properly.  
This results in MASSIVE process counts, exacerbating the problem pointed out in 
B.  Since there are two executors on each build node which means that anything 
running alongside of a branch-2 build will likely die.


was (Author: aw):
... except, that's not the actual issue.



> [branch-2.8] Increase heap memory to avoid the OOM in pre-commit
> ----------------------------------------------------------------
>
>                 Key: HADOOP-15153
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15153
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>         Attachments: HADOOP-15153-branch-2.8.patch
>
>
> Refernce:
> https://builds.apache.org/job/PreCommit-HDFS-Build/22528/consoleFull
> https://builds.apache.org/job/PreCommit-HDFS-Build/22528/artifact/out/branch-mvninstall-root.txt
> {noformat}
> [ERROR] unable to create new native thread -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to