[ 
https://issues.apache.org/jira/browse/SPARK-18557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Herman van Hovell resolved SPARK-18557.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.0

> Downgrade the memory leak warning message
> -----------------------------------------
>
>                 Key: SPARK-18557
>                 URL: https://issues.apache.org/jira/browse/SPARK-18557
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>            Reporter: Reynold Xin
>            Assignee: Reynold Xin
>             Fix For: 2.1.0
>
>
> TaskMemoryManager has a memory leak detector that gets called at task 
> completion callback and checks whether any memory has not been released. If 
> they are not released by the time the callback is invoked, TaskMemoryManager 
> releases them.
> The current error message says something like the following:
> {noformat}
> WARN  [Executor task launch worker-0]
> org.apache.spark.memory.TaskMemoryManager - leak 16.3 MB memory from
> org.apache.spark.unsafe.map.BytesToBytesMap@33fb6a15
> {noformat}
> In practice, there are multiple reasons why these can be triggered in the 
> normal code path (e.g. limit, or task failures), and the fact that these 
> messages are log means the "leak" is fixed by TaskMemoryManager.
> To not confuse users, we should downgrade the message from warning to debug 
> level, and avoid using the word "leak" since it is not actually a leak.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to