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

HIGH Memory(RAM usage) with a lot of build history

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • core
    • None
    • All Version of Jenkins

        If i hava 2-3 build and each of them hast 5000 build history. It takes 20GB RAM.

      I remember a Instance of us uses 70GB RAM,

      I made heapdump. 

      95% of Object is 
      jenkins.model.lazy.BuildReference

      Wenn I restart jenkins uses 3 GB RAM. But it goes again to 20GB RAM after next 5000 Builds.

      How can i unload BuildReferences like restart with groovy script?

      Thanks

            naveenboni Naveen Boni
            tgasimov Toghrul
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: