Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25759

FilePath.validateAntFileMask sucks up heap

    Details

    • Similar Issues:

      Description

      Although FilePath.validateAntFileMask is typically bounded to check at most 10000 files before giving up and announcing that it cannot find a match, it turns out that DirectoryScanner collects the names of non-matches in filesNotIncluded and dirsNotIncluded in the meantime. In a big workspace, this can cause the JVM (usually a slave agent) to allocate gigabytes of heap, eventually causing the slave to become overwhelmed and crash.

        Attachments

          Issue Links

            Activity

            jglick Jesse Glick created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Link This issue is blocking JENKINS-7214 [ JENKINS-7214 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "Apache bug #57253 (Web Link)" [ 11918 ]
            jglick Jesse Glick made changes -
            Labels performance lts-candidate performance
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            olivergondza Oliver Gond┼ża made changes -
            Labels lts-candidate performance 1.580.3-fixed performance
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 159737 ] JNJira + In-Review [ 196184 ]

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                jglick Jesse Glick
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: