Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11966

Using AdaptiveLoadBalancingSpi without IgniteConfiguration.setIncludeEventTypes(EventType.EVT_TASK_FINISHED, EventType.EVT_TASK_FAILED) leads to memory leak

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.5
    • 2.8
    • None
    • None
    • Docs Required

    Description

      You can use in debug mode any of tests related to AdaptiveLoadBalancingSpi like GridAdaptiveLoadBalancingSpiSelfTest.

      In case if you don't subscribe on EventType.EVT_TASK_FINISHED,  EventType.EVT_TASK_FAILED then next code will be never called:

      case EVT_TASK_FINISHED:
      case EVT_TASK_FAILED:

      { TaskEvent taskEvt = (TaskEvent)evt; taskTops.remove(taskEvt.taskSessionId()); //this As a result, you will see the growth of memory usage. [^Top_Consumers.zip] if (log.isDebugEnabled()) log.debug("Removed task topology from topology cache for session: " + taskEvt.taskSessionId()); break; }

      Attachments

        1. Top_Consumers.zip
          58 kB
          Andrei Aleksandrov

        Issue Links

          Activity

            People

              ibessonov Ivan Bessonov
              aealeksandrov Andrei Aleksandrov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m