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

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 4.0.12, 4.2.6, 4.4.0alpha2
    • Component/s: 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.

            Assignee:
            Zabbix Development Team
            Reporter:
            Andrejs Verza
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: