在做迭代计算的时候(Streaming),RDD是一个依赖链,得依靠定期做checkpoint来清理历史依赖释放内存。
如果是没有依赖得独立计算,RDD应该是会自动释放的,个别情况下也可以调用 Context.clear() 甚至 stop() 来释放内存。
> --
> You received this message because you are subscribed to the Google Groups
> "DPark Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
dpark-users...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
--
- Davies