Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-234

archetype:crawl fails on large repositories (Too many open files)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0-alpha-5
    • 2.0-alpha-5
    • None
    • None
    • Linux (and probably others)
    • Patch

    Description

      When using archetype:crawl to generate the archetype-catalog.xml for a largish repository, the operation fails due to "Too many open files". This is due to many ZipFile objects (and at least one FileWriter object) not being close()'d.

      I've attached a patch against maven-archetype that resolves this issue.

      Attachments

        1. archetype-crawl.patch
          12 kB
          Jason Voegele

        Activity

          People

            Unassigned Unassigned
            jvoegele Jason Voegele
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: