Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-16611

Endless loops of setTimeouts in gtlc.js library, causing memory and performance leaks

    XMLWordPrintable

    Details

    • Team:
      Team B
    • Sprint:
      Sprint 56 (Sep 2019), Sprint 57 (Oct 2019)
    • Story Points:
      0.25

      Description

      Steps to reproduce:

      1. Use Chrome for testing.
      2. Create a new dashboard with a graph widget.
      3. Set widget refresh rate to 10 seconds.
      4. Save the dashboard.
      5. Open Chrome's Development tools and navigate to "Memory" tab.
      6. Take Heap snapshot (button).
      7. Wait more than 10 seconds (until the next refresh cycle is done).
      8. Take Heap snapshot again (button).
      9. Select "Objects allocated between Snapshot 1 and Snapshot 2".
      10. Write "DOMTimer" in the "Class filter".
      11. Repeat steps starting from 6.

      Result:

      Number of DOMTimer instances is constantly growing after every refresh.

      Expected:

      Number of DOMTimer instances should not be constantly growing.

        Attachments

          Activity

            People

            Assignee:
            averza Andrejs Verza
            Reporter:
            averza Andrejs Verza
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: