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

OutOfMemoryError when "calculateWorkspaceDiskUsage"

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • disk-usage-plugin
    • None

      Getting frequent OutOfMemoryError.

      Analysing the source code, I think is the DiskUsageCallable.call() creating the "exceeded" file list.

      Shouldn't it be iterable to avoid large memory loads?

          [JENKINS-22773] OutOfMemoryError when "calculateWorkspaceDiskUsage"

          Hi, please do you have some heap dump? Exceeded file list should not cause memory leak. I will look at it.

          Lucie Votypkova added a comment - Hi, please do you have some heap dump? Exceeded file list should not cause memory leak. I will look at it.

          In exceeded list should be only files with builds (so there should be all files with build id) and files of sub-jobs (files with names of sub-jobs). It should not be a lot of objects. Only my idea is a large matrix jobs (a lot of axes) - I will try to look at it.

          Lucie Votypkova added a comment - In exceeded list should be only files with builds (so there should be all files with build id) and files of sub-jobs (files with names of sub-jobs). It should not be a lot of objects. Only my idea is a large matrix jobs (a lot of axes) - I will try to look at it.

            Unassigned Unassigned
            bkmeneguello Bruno Meneguello
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: