Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-5767

SVN excluded paths are loaded into memory when indexing what can cause OutOfMemoryError

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Low
    • None
    • 3.7.0
    • None

    Description

      Even having Exclude Paths configured, FishEye may attempt to load the paths into memory. This can lead to OOME in case there is a huge number of paths under excluded folders.

      For instance, having repository like:

      ------------------------------------------------------------------------
      r6 | piotrs | 2015-08-27 16:32:20 +0200 (Thu, 27 Aug 2015) | 2 lines
      Changed paths:
         M /xxxGroup/xxx/tags/tag_1.0.0/file.txt
      
      changed file on a tag
      
      ------------------------------------------------------------------------
      r5 | piotrs | 2015-08-27 11:30:27 +0200 (Thu, 27 Aug 2015) | 2 lines
      Changed paths:
         A /xxxGroup/xxx (from /xxx:4)
      
      copied xxx project
      
      ------------------------------------------------------------------------
      r4 | piotrs | 2015-08-27 11:30:00 +0200 (Thu, 27 Aug 2015) | 1 line
      Changed paths:
         A /xxxGroup
      
      xxxGroup created
      ------------------------------------------------------------------------
      r3 | piotrs | 2015-08-27 11:29:43 +0200 (Thu, 27 Aug 2015) | 2 lines
      Changed paths:
         A /xxx/tags/tag_1.0.0 (from /xxx/trunk:2)
      
      tag 1.0.0
      
      ------------------------------------------------------------------------
      r2 | piotrs | 2015-08-27 11:29:22 +0200 (Thu, 27 Aug 2015) | 1 line
      Changed paths:
         A /xxx/trunk/file.txt
      
      file.txt
      ------------------------------------------------------------------------
      r1 | piotrs | 2015-08-27 11:29:06 +0200 (Thu, 27 Aug 2015) | 1 line
      Changed paths:
         A /xxx
         A /xxx/branches
         A /xxx/tags
         A /xxx/trunk
      
      init
      ------------------------------------------------------------------------
      

      and repository configured with:

      • base repository path: xxxGroup
      • exclude path: xxx/tags/*

      the path /xxxGroup/xxx/tags/tag_1.0.0/file.txt will be loaded into infoMap at Svn2Infill2Processor#getInfo method.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pswiecicki Piotr Swiecicki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: