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

java.lang.OutOfMemoryError: GC overhead limit exceeded

XMLWordPrintable

      Hi,

       

      We are seeing our CI jenkins server crashing frequently(atleast once in a day) with error: 
       
      java.lang.OutOfMemoryError: GC overhead limit exceeded

      {{}}

      We collected Heap dump and tried to analyse using Eclipe Memory Analyser tool(Eclipse MAT).We see below message in the report:

       
      The thread java.lang.Thread @ 0x5d69c4500 Handling GET /job/<job_name>/descriptorByName/hudson.tasks.ArtifactArchiver/checkArtifacts from 10.158.222.25 : qtp1830908236-16408 keeps local variables with total size 1,949,995,728 (24.49%) bytes.

      what does this mean?

      In that job,we archive a file by proving variable name.How do we fix this issue?

      More info on Heap size used:

      Heap Configuration:
      MinHeapFreeRatio = 0
      MaxHeapFreeRatio = 100
      MaxHeapSize = 8589934592 (8192.0MB)
      NewSize = 2147483648 (2048.0MB)
      MaxNewSize = 2147483648 (2048.0MB)
      OldSize = 6442450944 (6144.0MB)
      NewRatio = 3
      SurvivorRatio = 6
      MetaspaceSize = 21807104 (20.796875MB)
      CompressedClassSpaceSize = 1073741824 (1024.0MB)
      MaxMetaspaceSize = 17592186044415 MB
      G1HeapRegionSize = 0 (0.0MB)

            Unassigned Unassigned
            issac1993 Daniel Issac
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: