[
https://issues.apache.org/jira/browse/HDFS-2297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093004#comment-13093004
]
Joep Rottinghuis commented on HDFS-2297:
----------------------------------------
findbugs:
[mkdir] Created dir:
/hadoop01/jenkins/jobs/hadoop-hdfs-test/workspace/hdfs/build/test/findbugs
[findbugs] Executing findbugs from ant task
[findbugs] Running FindBugs...
[findbugs] Out of memory
[findbugs] Total memory: 477M
[findbugs] free memory: 65M
[findbugs] Analyzed:
/hadoop01/jenkins/jobs/hadoop-hdfs-test/workspace/hdfs/build/hadoop-hdfs-0.22-joep-0.1.jar
[findbugs] Aux:
/hadoop01/jenkins/jobs/hadoop-hdfs-test/workspace/hdfs/build/ivy/lib/Hadoop-Hdfs/common/ant-1.6.5.jar
...lines cut
[findbugs] Aux:
/hadoop01/jenkins/jobs/hadoop-hdfs-test/workspace/hdfs/build/ivy/lib/Hadoop-Hdfs/common/paranamer-ant-2.2.jar
[findbugs] Aux:
/hadoop01/jenkins/jobs/hadoop-hdfs-test/workspace/hdfs/build/ivy/lib/Hadoop-Hdfs/common/paranamer-generator-2.2.jar
[findbugs] Aux:
/hadoop01/jenkins/jobs/hadoop-hdfs-test/workspace/hdfs/build/ivy/lib/Hadoop-Hdfs/common/qdox-1.10.1.jar
[findbugs] Aux:
/hadoop01/jenkins/jobs/hadoop-hdfs-test/workspace/hdfs/build/ivy/lib/Hadoop-Hdfs/common/servlet-api-2.5-6.1.14.jar
[findbugs] Aux:
/hadoop01/jenkins/jobs/hadoop-hdfs-test/workspace/hdfs/build/ivy/lib/Hadoop-Hdfs/common/slf4j-api-1.5.11.jar
[findbugs] Aux:
/hadoop01/jenkins/jobs/hadoop-hdfs-test/workspace/hdfs/build/ivy/lib/Hadoop-Hdfs/common/xmlenc-0.52.jar
[findbugs] Exception in thread "main" java.lang.OutOfMemoryError: GC overhead
limit exceeded
[findbugs] at
edu.umd.cs.findbugs.ba.type.TypeAnalysis.createFact(TypeAnalysis.java:291)
[findbugs] at
edu.umd.cs.findbugs.ba.type.TypeAnalysis.getCachedExceptionSet(TypeAnalysis.java:688)
[findbugs] at
edu.umd.cs.findbugs.ba.type.TypeAnalysis.computeThrownExceptionTypes(TypeAnalysis.java:438)
[findbugs] at
edu.umd.cs.findbugs.ba.type.TypeAnalysis.transfer(TypeAnalysis.java:410)
[findbugs] at
edu.umd.cs.findbugs.ba.type.TypeAnalysis.transfer(TypeAnalysis.java:88)
[findbugs] at edu.umd.cs.findbugs.ba.Dataflow.execute(Dataflow.java:356)
[findbugs] at
edu.umd.cs.findbugs.classfile.engine.bcel.TypeDataflowFactory.analyze(TypeDataflowFactory.java:82)
... 27 more
[findbugs] Java Result: 1
> FindBugs OutOfMemoryError
> -------------------------
>
> Key: HDFS-2297
> URL: https://issues.apache.org/jira/browse/HDFS-2297
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Affects Versions: 0.22.0
> Environment: FindBugs 1.3.9, ant 1.8.2, RHEL6, Jenkins 1.414 in
> Tomcat 7.0.14, Sun Java HotSpot(TM) 64-Bit Server VM
> Reporter: Joep Rottinghuis
> Assignee: Joep Rottinghuis
> Priority: Blocker
>
> When running the findbugs target from Jenkins, I get an OutOfMemory error.
> The "effort" in FindBugs is set to Max which ends up using a lot of memory to
> go through all the classes. The jvmargs passed to FindBugs is hardcoded to
> 512 MB max.
> We can leave the default to 512M, as long as we pass this as an ant parameter
> which can be overwritten in individual cases through -D, or in the
> build.properties file (either basedir, or user's home directory).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira