java.lang.OutOfMemoryError: GC overhead limit exceeded

This issue is archived. You can view it, but you can't modify it. Learn more

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)

            Assignee:
            Unassigned
            Reporter:
            Daniel Issac
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: