GitHub user viirya opened a pull request:

    https://github.com/apache/spark/pull/6859

    [SPARK-8391][Core ]More efficient usage of memory when makeDotFile

    JIRA: https://issues.apache.org/jira/browse/SPARK-8391
    
    Currently `StringBuilder` is used to generate the dot file in `makeDotFile` 
function. When there are too many DAG nodes and edges, `StringBuilder` will 
frequently expand its capacity and the memory usage is not efficient. This PR 
replaces `StringBuilder` with simply `String` to output the dot file. It should 
solve part of the JIRA problem.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/viirya/spark-1 dotfile_with_string

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/6859.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #6859
    
----
commit 586bdd08e98935ac4a0646a82f0fdd8ea58d2ae6
Author: Liang-Chi Hsieh <[email protected]>
Date:   2015-06-17T10:42:38Z

    More efficient usage of memory when makeDotFile.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to