Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
0.22.0
-
None
-
None
-
None
-
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
Description
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).
Attachments
Issue Links
- is related to
-
HDFS-2297 FindBugs OutOfMemoryError
- Closed