[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to