You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2014/08/19 22:29:18 UTC

[jira] [Created] (SPARK-3135) Avoid memory copy in TorrentBroadcast serialization

Reynold Xin created SPARK-3135:
----------------------------------

             Summary: Avoid memory copy in TorrentBroadcast serialization
                 Key: SPARK-3135
                 URL: https://issues.apache.org/jira/browse/SPARK-3135
             Project: Spark
          Issue Type: Sub-task
            Reporter: Reynold Xin


TorrentBroadcast uses a ByteArrayOutputStream to serialize broadcast object into a single giant byte array, and then separates it into smaller chunks.  We should implement a new OutputStream that writes serialized bytes directly into chunks of byte arrays so we don't need the extra memory copy.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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