You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Joep Rottinghuis (JIRA)" <ji...@apache.org> on 2011/08/29 19:46:37 UTC

[jira] [Created] (HDFS-2297) FindBugs OutOfMemoryError

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

        

[jira] [Resolved] (HDFS-2297) FindBugs OutOfMemoryError

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko resolved HDFS-2297.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.22.0
     Hadoop Flags: [Reviewed]

I just committed this. Thank you Joep.

> 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
>             Fix For: 0.22.0
>
>         Attachments: HDFS-2297.patch
>
>
> 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