Uploaded image for project: 'Bamboo'
  1. Bamboo
  2. BAM-11716

On Plan Summary Dashboard, Viewing "Show All Builds" Crashes For Large Number of Builds

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 4.1
    • Fix Version/s: None
    • Component/s: User Interface
    • Labels:
      None
    • Last commented by user?:
      true
    • Comments:
      2
    • Symptom Severity:
      Minor

      Description

      I have a Bamboo plan that has 16158 build results. In the Plan Summary screen in the upper right there's a dropdown that says "Showing Last 25 Builds". If I change it to Show All Builds, Bamboo thinks for a while, then crashes with a stacktrace :

      java.lang.OutOfMemoryError: GC overhead limit exceeded
      at net.sf.hibernate.impl.SessionImpl.addUninitializedCollection(SessionImpl.java:3203)
      at net.sf.hibernate.impl.SessionImpl.getCollection(SessionImpl.java:3984)
      at net.sf.hibernate.type.PersistentCollectionType.resolveIdentifier(PersistentCollectionType.java:171)
      at net.sf.hibernate.impl.SessionImpl.initializeEntity(SessionImpl.java:2221)
      at net.sf.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:319)
      at net.sf.hibernate.loader.Loader.doQuery(Loader.java:309)
      at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:138)
      at net.sf.hibernate.loader.Loader.doList(Loader.java:1063)
      at net.sf.hibernate.loader.Loader.list(Loader.java:1048)
      at net.sf.hibernate.loader.CriteriaLoader.list(CriteriaLoader.java:118)
      at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:3662)
      at net.sf.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:238)
      at com.atlassian.bamboo.resultsummary.BuildResultsSummaryHibernateDao$8.doInHibernate(BuildResultsSummaryHibernateDao.java:413)
      at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:370)
      at org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java:341)
      at com.atlassian.bamboo.resultsummary.BuildResultsSummaryHibernateDao.findResultsSummaries(BuildResultsSummaryHibernateDao.java:409)

      In my Bamboo I already have the JVM max heap up'ed to 6 GB and have tried passing -XX:-UseGCOverheadLimit to disable the GC overhead. However it still crashes when viewing all builds.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Last commented:
                6 years, 6 weeks ago