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

Memory leak in ProgressiveRendering

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      A special case of JENKINS-16341 is that you are using ProgressiveRendering (as opposed to, say, l:renderOnDemand or st:bind). This is fixable in principle because we know when the rendering thread is finished. The easy case is that the page is fully rendered, in which case news is called at the end and we can use BoundObjectTable.releaseMe. The harder case is that the user navigates away from this page (or otherwise stops JavaScript rendering); then we know when we are done, but releaseMe does not work, and there is no API to find the Bound to call release on.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            changelog.html
            core/src/main/java/jenkins/util/ProgressiveRendering.java
            core/src/main/resources/lib/layout/progressiveRendering.jelly
            core/src/main/resources/lib/layout/progressiveRendering/progressiveRendering.js
            http://jenkins-ci.org/commit/jenkins/aac8c239721ed52caacbff389a29d5db2c1e3a00
            Log:
            [FIXED JENKINS-25081] Memory leak in BoundObjectTable when ProgressiveRendering is used.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/java/jenkins/util/ProgressiveRendering.java core/src/main/resources/lib/layout/progressiveRendering.jelly core/src/main/resources/lib/layout/progressiveRendering/progressiveRendering.js http://jenkins-ci.org/commit/jenkins/aac8c239721ed52caacbff389a29d5db2c1e3a00 Log: [FIXED JENKINS-25081] Memory leak in BoundObjectTable when ProgressiveRendering is used.
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #3732
            [FIXED JENKINS-25081] Memory leak in BoundObjectTable when ProgressiveRendering is used. (Revision aac8c239721ed52caacbff389a29d5db2c1e3a00)

            Result = SUCCESS
            Jesse Glick : aac8c239721ed52caacbff389a29d5db2c1e3a00
            Files :

            • core/src/main/resources/lib/layout/progressiveRendering.jelly
            • core/src/main/resources/lib/layout/progressiveRendering/progressiveRendering.js
            • core/src/main/java/jenkins/util/ProgressiveRendering.java
            • changelog.html
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #3732 [FIXED JENKINS-25081] Memory leak in BoundObjectTable when ProgressiveRendering is used. (Revision aac8c239721ed52caacbff389a29d5db2c1e3a00) Result = SUCCESS Jesse Glick : aac8c239721ed52caacbff389a29d5db2c1e3a00 Files : core/src/main/resources/lib/layout/progressiveRendering.jelly core/src/main/resources/lib/layout/progressiveRendering/progressiveRendering.js core/src/main/java/jenkins/util/ProgressiveRendering.java changelog.html
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            core/src/main/java/jenkins/util/ProgressiveRendering.java
            core/src/main/resources/lib/layout/progressiveRendering.jelly
            core/src/main/resources/lib/layout/progressiveRendering/progressiveRendering.js
            http://jenkins-ci.org/commit/jenkins/3eefad8d30d38ad2b4ab23f228a82291a87578aa
            Log:
            [FIXED JENKINS-25081] Memory leak in BoundObjectTable when ProgressiveRendering is used.
            (cherry picked from commit aac8c239721ed52caacbff389a29d5db2c1e3a00)

            Conflicts:
            changelog.html

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/java/jenkins/util/ProgressiveRendering.java core/src/main/resources/lib/layout/progressiveRendering.jelly core/src/main/resources/lib/layout/progressiveRendering/progressiveRendering.js http://jenkins-ci.org/commit/jenkins/3eefad8d30d38ad2b4ab23f228a82291a87578aa Log: [FIXED JENKINS-25081] Memory leak in BoundObjectTable when ProgressiveRendering is used. (cherry picked from commit aac8c239721ed52caacbff389a29d5db2c1e3a00) Conflicts: changelog.html
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #4292
            [FIXED JENKINS-25081] Memory leak in BoundObjectTable when ProgressiveRendering is used. (Revision 3eefad8d30d38ad2b4ab23f228a82291a87578aa)

            Result = UNSTABLE
            ogondza : 3eefad8d30d38ad2b4ab23f228a82291a87578aa
            Files :

            • core/src/main/java/jenkins/util/ProgressiveRendering.java
            • core/src/main/resources/lib/layout/progressiveRendering/progressiveRendering.js
            • core/src/main/resources/lib/layout/progressiveRendering.jelly
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #4292 [FIXED JENKINS-25081] Memory leak in BoundObjectTable when ProgressiveRendering is used. (Revision 3eefad8d30d38ad2b4ab23f228a82291a87578aa) Result = UNSTABLE ogondza : 3eefad8d30d38ad2b4ab23f228a82291a87578aa Files : core/src/main/java/jenkins/util/ProgressiveRendering.java core/src/main/resources/lib/layout/progressiveRendering/progressiveRendering.js core/src/main/resources/lib/layout/progressiveRendering.jelly

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                jglick Jesse Glick
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: