You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Cesar Flores <ce...@gmail.com> on 2016/06/10 18:18:44 UTC

Cleaning spark memory

Hello:

Sometimes I cache data frames to memory that I forget to unpersist, losing
the variable reference in the process.

Is there a way of: (i) is there a way of recovering references to data
frames that are still persisted in memory OR (ii) a way of just unpersist
all spark cached variables?


Thanks
-- 
Cesar Flores

回复:Cleaning spark memory

Posted by Ricky <49...@qq.com>.
wml 

发自我的iPhone

------------------ 原始邮件 ------------------
发件人: Takeshi Yamamuro <li...@gmail.com>
发送时间: 2016&#24180;6&#26376;11&#26085; 12:15
收件人: Cesar Flores <ce...@gmail.com>
抄送: user <us...@spark.apache.org>
主题: Re: Cleaning spark memory

Re: Cleaning spark memory

Posted by Takeshi Yamamuro <li...@gmail.com>.
Hi,

If you remove all cached data, please use `SQLContext#clearCache`.

// maropu

On Sat, Jun 11, 2016 at 3:18 AM, Cesar Flores <ce...@gmail.com> wrote:

>
> Hello:
>
> Sometimes I cache data frames to memory that I forget to unpersist, losing
> the variable reference in the process.
>
> Is there a way of: (i) is there a way of recovering references to data
> frames that are still persisted in memory OR (ii) a way of just unpersist
> all spark cached variables?
>
>
> Thanks
> --
> Cesar Flores
>



-- 
---
Takeshi Yamamuro