You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/11/16 18:53:00 UTC

[jira] [Commented] (SPARK-25905) BlockManager should expose getRemoteManagedBuffer to avoid creating bytebuffers

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

Apache Spark commented on SPARK-25905:
--------------------------------------

User 'wypoon' has created a pull request for this issue:
https://github.com/apache/spark/pull/23058

> BlockManager should expose getRemoteManagedBuffer to avoid creating bytebuffers
> -------------------------------------------------------------------------------
>
>                 Key: SPARK-25905
>                 URL: https://issues.apache.org/jira/browse/SPARK-25905
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.4.0
>            Reporter: Imran Rashid
>            Priority: Major
>              Labels: memory-analysis
>
> The block manager currently only lets you get a handle on remote data as a {{ChunkedByteBuffer}}.  But with remote reads of cached data, you really only need an input stream view of the data, which is already available with the {{ManagedBuffer}} which is fetched.  By forcing conversion to a {{ChunkedByteBuffer}}, we end up using more memory than necessary.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org