[ 
https://issues.apache.org/jira/browse/SPARK-62243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ruifeng Zheng resolved SPARK-62243.
-----------------------------------
    Fix Version/s: 4.5.0
       Resolution: Fixed

Issue resolved by pull request 60790
[https://github.com/apache/spark/pull/60790]

> GraphX LabelPropagation is slow and memory heavy on 1st iteration
> -----------------------------------------------------------------
>
>                 Key: SPARK-62243
>                 URL: https://issues.apache.org/jira/browse/SPARK-62243
>             Project: Spark
>          Issue Type: Task
>          Components: Graph
>    Affects Versions: 4.5.0
>            Reporter: Sem Sinchenko
>            Assignee: Sem Sinchenko
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.5.0
>
>
> The GraphX LabelPropagation send messages as `Map[VertexId, Long]` and inside 
> the merge it allocates a new Map + iterate keys. This leads to:
>  * huge state on first iteration, a VertexId -> 1L mapping of size 
> num-neighbors
>  * ~quadratic complexity
>  * slow merge map
>  * huge GC pressure from allocation new Map in each merge



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to