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

SVG graphs run out of memory if requested graph width is too small

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 4.0.12, 4.2.6, 4.4.0alpha2
    • Frontend (F)
    • 0.5

      Steps to reproduce:

      1. Resize the browser window to full width.
      2. Open development tools in your browser and observe network activity.
      3. Create a new graph widget (SVG) on the dashboard.
      4. Resize the widget to a minimum width.
      5. Resize the browser window to about 1000px in width.
      6. Observe the dashboard trying to load the graph of a very small width (68px, for example).

      Result:

      The graph is never loaded, instead, the HTTP request to the SVG Graph controller returns a fatal PHP error saying "allowed memory size exhausted" (or just server error, depending on server configuration).

      Expected:

      The SVG Graph should be returned for any requested width.

            zabbix.dev Zabbix Development Team
            averza Andrejs Verza
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: