Uploaded image for project: 'ZK Charts'
  1. ZK Charts
  2. ZKCHARTS-33

Memory Leak in ZK Charts (Shadow.NONE)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 1.1.0, 1.2.0, 1.3.0, 2.0.0, 2.0.0.1, 2.0.1
    • Fix Version/s: 2.0.1
    • Labels:

      Description

      Problem:
      Memory leak occur in Shadow.NONE. Because all listeners are never removed.

      Solutions:

      • Shadow.NONE can't accept listeners.
      • Remove Shadow.NONE and always create a new EmptyShadow instance.

      Workaround

      chart.getChart().setShadow( new Shadow()
      {
            @Override
            public String toJSONString()
            {
                return "false";
            }
      } );
      

        Attachments

          Activity

            People

            Assignee:
            jumperchen jumperchen
            Reporter:
            interactmn interactmn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Time Spent - 30 minutes Remaining Estimate - 30 minutes
                30m
                Logged:
                Time Spent - 30 minutes Remaining Estimate - 30 minutes
                30m