Jdepend: OutOfMemoryError during report generation

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Major
    • Component/s: plugin-proposals
    • None
    • Environment:
      Win2000, Apache Tomcat 5.5; Java 1.5.0_10, Hudson ver. 1.355

      Hi,

      we've set up about 20 java builds. Since this week all of theses builds use the ANT JDEPEND task to generate one jdepend.xml per build. In Hudson we've configured the Hudson JDepend Plugin (v.1.2.2) to report using the jdepend.xml created during the build process.
      That works fine for all builds - except one very large one. For this large project the log contains these lines:

      [JDepend] JDepend plugin is ready
      [JDepend] Found 3326 classes in 290 packages
      FATAL: Java heap space
      java.lang.OutOfMemoryError: Java heap space

      Additionally it causes Hudson to "hang". Hudson was unavailable until I re-started the Tomcat server.

      Another large project is nearly as large as the one above - and for this project the Jdepend plugin works.... Here the interesiting part of the log:

      [JDepend] JDepend plugin is ready
      [JDepend] Found 3145 classes in 288 packages
      Finished: SUCCESS

            Assignee:
            Unassigned
            Reporter:
            frawi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: