ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ignite TC Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-11966) Using AdaptiveLoadBalancingSpi without IgniteConfiguration.setIncludeEventTypes(EventType.EVT_TASK_FINISHED, EventType.EVT_TASK_FAILED) leads to memory leak
Date Wed, 17 Jul 2019 07:44:00 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-11966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16886751#comment-16886751
] 

Ignite TC Bot commented on IGNITE-11966:
----------------------------------------

{panel:title=--&gt; Run :: All: No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=4337709&amp;buildTypeId=IgniteTests24Java8_RunAll]

> Using AdaptiveLoadBalancingSpi without IgniteConfiguration.setIncludeEventTypes(EventType.EVT_TASK_FINISHED,
 EventType.EVT_TASK_FAILED) leads to memory leak
> -------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-11966
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11966
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.7.5
>            Reporter: Andrey Aleksandrov
>            Assignee: Ivan Bessonov
>            Priority: Major
>             Fix For: 2.8
>
>         Attachments: Top_Consumers.zip
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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;
> }



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message