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